soc: qcom: pdr: Reorder the PD state indication ack
authorSibi Sankar <sibis@codeaurora.org>
Wed, 1 Jul 2020 19:59:54 +0000 (01:29 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Aug 2020 06:23:31 +0000 (08:23 +0200)
commit3399fb0afca941c5711b8e99a0bf966601e35a23
tree855f3af2f2cb69b22b8d2c59bc0463c578280678
parent5a66ae135e3876ded266c9e1081d0cbdcb80459f
soc: qcom: pdr: Reorder the PD state indication ack

[ Upstream commit 72fe996f9643043c8f84e32c0610975b01aa555b ]

The Protection Domains (PD) have a mechanism to keep its resources
enabled until the PD down indication is acked. Reorder the PD state
indication ack so that clients get to release the relevant resources
before the PD goes down.

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>
Fixes: fbe639b44a82 ("soc: qcom: Introduce Protection Domain Restart helpers")
Reported-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>
Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
Link: https://lore.kernel.org/r/20200701195954.9007-1-sibis@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/soc/qcom/pdr_interface.c