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)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 28 Jul 2020 06:09:25 +0000 (23:09 -0700)
commit72fe996f9643043c8f84e32c0610975b01aa555b
tree48dc225adc6d2b95df68e12aa6e02d24faa1332f
parentf935a752f22915ff6891cd62dd0d12476e5df248
soc: qcom: pdr: Reorder the PD state indication ack

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>
drivers/soc/qcom/pdr_interface.c