Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 37c8085c authored by Mukesh Ojha's avatar Mukesh Ojha Committed by Greg Kroah-Hartman
Browse files

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: 8c1b7dc9 ("firmware: qcom: scm: Expose download-mode control")
Signed-off-by: default avatarMukesh Ojha <quic_mojha@quicinc.com>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/1678979666-551-1-git-send-email-quic_mojha@quicinc.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 620b9835
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -585,7 +585,6 @@ 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);
}