firmware: qcom_scm: Clear download bit during reboot
authorMukesh Ojha <quic_mojha@quicinc.com>
Thu, 16 Mar 2023 15:14:26 +0000 (20:44 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 May 2023 14:03:10 +0000 (23:03 +0900)
commit1f141fe5153a7892c9d033f8b5c6783a81579203
tree3a93128c4ebb5054c5ffee7f59894ba1dc6eec31
parent423350af9e27f005611bd881b1df2cab66de943d
firmware: qcom_scm: Clear download bit during reboot

[ Upstream commit 781d32d1c9709fd25655c4e3e3e15370ae4ae4db ]

During normal restart of a system download bit should
be cleared irrespective of whether download mode is
set or not.

Fixes: 8c1b7dc9ba22 ("firmware: qcom: scm: Expose download-mode control")
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/1678979666-551-1-git-send-email-quic_mojha@quicinc.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/firmware/qcom_scm.c