firmware: qcom_scm: do not clear dump mode from shutdown

Do not overwrite download mode to NO dump mode from SCM driver, it is
already being done at proper place in qcom-dload-mode driver and
writing it here can clean up EDL mode written from qcom-dload-mode.

Fix this issue by remove writing no dump mode from SCM driver.

Change-Id: Ibfe8b8484dd69ae8386b46c9a53ef42a4a475688
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
This commit is contained in:
Mukesh Ojha 2024-11-29 17:01:56 +05:30
commit 10dc202835

View file

@ -1248,8 +1248,6 @@ static void qcom_scm_shutdown(struct platform_device *pdev)
{
qcom_scm_disable_sdi();
qcom_scm_halt_spmi_pmic_arbiter();
/* Clean shutdown, disable download mode to allow normal restart */
qcom_scm_set_download_mode(QCOM_DOWNLOAD_NODUMP, 0);
}
static const struct of_device_id qcom_scm_dt_match[] = {