1 From c668fd2c4d9ad4a510fd214a2da83bd9b67a2508 Mon Sep 17 00:00:00 2001
2 From: Robert Marko <robimarko@gmail.com>
3 Date: Sun, 13 Aug 2023 18:13:08 +0200
4 Subject: [PATCH] Revert "firmware: qcom_scm: Clear download bit during reboot"
6 This reverts commit a3ea89b5978dbcd0fa55f675c5a1e04611093709.
8 It is breaking reboot on IPQ4019 boards, so revert until a proper fix
11 Signed-off-by: Robert Marko <robimarko@gmail.com>
13 drivers/firmware/qcom_scm.c | 3 ++-
14 1 file changed, 2 insertions(+), 1 deletion(-)
16 --- a/drivers/firmware/qcom_scm.c
17 +++ b/drivers/firmware/qcom_scm.c
18 @@ -1459,7 +1459,8 @@ static int qcom_scm_probe(struct platfor
19 static void qcom_scm_shutdown(struct platform_device *pdev)
21 /* Clean shutdown, disable download mode to allow normal restart */
22 - qcom_scm_set_download_mode(false);
24 + qcom_scm_set_download_mode(false);
27 static const struct of_device_id qcom_scm_dt_match[] = {