]> Gentwo Git Trees - linux/.git/commit
remoteproc: qcom: q6v5: Avoid handling handover twice
authorStephan Gerhold <stephan.gerhold@linaro.org>
Wed, 20 Aug 2025 16:02:34 +0000 (18:02 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 22 Sep 2025 13:33:06 +0000 (08:33 -0500)
commit54898664e1eb6b5b3e6cdd9343c6eb15da776153
tree91f7a4522f2fc54fa9232393901492defed01ffc
parent110be46f5afe27b66caa2d12473a84cd397b1925
remoteproc: qcom: q6v5: Avoid handling handover twice

A remoteproc could theoretically signal handover twice. This is unexpected
and would break the reference counting for the handover resources (power
domains, clocks, regulators, etc), so add a check to prevent that from
happening.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Stephan Gerhold <stephan.gerhold@linaro.org>
Link: https://lore.kernel.org/r/20250820-rproc-qcom-q6v5-fixes-v2-2-910b1a3aff71@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/remoteproc/qcom_q6v5.c