]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit409368ae14183fd99efbf7aac434e3b529a03c1f
tree48dc225adc6d2b95df68e12aa6e02d24faa1332f
parentd595ecc0339e4000218cd44249e9e3e5b1e6f1a6
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: 146b8c93f19c ("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