mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 20:10:23 +09:00
firmware: qcom_scm: Clear download bit during reboot
[ Upstream commit781d32d1c9] During normal restart of a system download bit should be cleared irrespective of whether download mode is set or not. Fixes:8c1b7dc9ba("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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
ca4ce92e3e
commit
a3ea89b597
@@ -1320,8 +1320,7 @@ static int qcom_scm_probe(struct platform_device *pdev)
|
||||
static void qcom_scm_shutdown(struct platform_device *pdev)
|
||||
{
|
||||
/* Clean shutdown, disable download mode to allow normal restart */
|
||||
if (download_mode)
|
||||
qcom_scm_set_download_mode(false);
|
||||
qcom_scm_set_download_mode(false);
|
||||
}
|
||||
|
||||
static const struct of_device_id qcom_scm_dt_match[] = {
|
||||
|
||||
Reference in New Issue
Block a user