remoteproc: qcom_q6v5_pas: Unload lite firmware on ADSP
authorSibi Sankar <quic_sibis@quicinc.com>
Mon, 12 Feb 2024 17:02:44 +0000 (19:02 +0200)
committerBjorn Andersson <andersson@kernel.org>
Wed, 6 Mar 2024 04:02:07 +0000 (20:02 -0800)
commit62210f7509e13a2caa7b080722a45229b8f17a0a
tree03c4cbb8efa978459c23ec573aacf57382cf241b
parent1d7823f28631f139294646bb189de94b8a07c7f1
remoteproc: qcom_q6v5_pas: Unload lite firmware on ADSP

The UEFI loads a lite variant of the ADSP firmware to support charging
use cases. The kernel needs to unload and reload it with the firmware
that has full feature support for audio. This patch arbitarily shutsdown
the lite firmware before loading the full firmware.

Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20240212-x1e80100-remoteproc-v2-3-604614367f38@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/remoteproc/qcom_q6v5_pas.c