summaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/patches-6.1/910-Revert-firmware-qcom_scm-Clear-download-bit-during-r.patch
diff options
context:
space:
mode:
authorRobert Marko <robimarko@gmail.com>2023-08-14 13:16:12 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2023-09-17 21:00:23 +0200
commitbd242a42a6142c4c7c5cf69ac836a31276e86155 (patch)
tree04de1ad472c224c0b9da591cc05b6a575ec0e075 /target/linux/ipq40xx/patches-6.1/910-Revert-firmware-qcom_scm-Clear-download-bit-during-r.patch
parent70dfb696c03bcfc1231ebdf16d8ddbae8d7eccf7 (diff)
downloadopenwrt-bd242a42a6142c4c7c5cf69ac836a31276e86155.tar.gz
openwrt-bd242a42a6142c4c7c5cf69ac836a31276e86155.tar.bz2
openwrt-bd242a42a6142c4c7c5cf69ac836a31276e86155.zip
ipq40xx: copy 5.15 patches and config to 6.1
Copy the 5.15 patches and config as a base for 6.1 support. Signed-off-by: Robert Marko <robimarko@gmail.com>
Diffstat (limited to 'target/linux/ipq40xx/patches-6.1/910-Revert-firmware-qcom_scm-Clear-download-bit-during-r.patch')
-rw-r--r--target/linux/ipq40xx/patches-6.1/910-Revert-firmware-qcom_scm-Clear-download-bit-during-r.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/ipq40xx/patches-6.1/910-Revert-firmware-qcom_scm-Clear-download-bit-during-r.patch b/target/linux/ipq40xx/patches-6.1/910-Revert-firmware-qcom_scm-Clear-download-bit-during-r.patch
new file mode 100644
index 0000000000..b5b89b26f1
--- /dev/null
+++ b/target/linux/ipq40xx/patches-6.1/910-Revert-firmware-qcom_scm-Clear-download-bit-during-r.patch
@@ -0,0 +1,27 @@
+From c668fd2c4d9ad4a510fd214a2da83bd9b67a2508 Mon Sep 17 00:00:00 2001
+From: Robert Marko <robimarko@gmail.com>
+Date: Sun, 13 Aug 2023 18:13:08 +0200
+Subject: [PATCH] Revert "firmware: qcom_scm: Clear download bit during reboot"
+
+This reverts commit a3ea89b5978dbcd0fa55f675c5a1e04611093709.
+
+It is breaking reboot on IPQ4019 boards, so revert until a proper fix
+is found.
+
+Signed-off-by: Robert Marko <robimarko@gmail.com>
+---
+ drivers/firmware/qcom_scm.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+--- a/drivers/firmware/qcom_scm.c
++++ b/drivers/firmware/qcom_scm.c
+@@ -1361,7 +1361,8 @@ static int qcom_scm_probe(struct platfor
+ static void qcom_scm_shutdown(struct platform_device *pdev)
+ {
+ /* Clean shutdown, disable download mode to allow normal restart */
+- qcom_scm_set_download_mode(false);
++ if (download_mode)
++ qcom_scm_set_download_mode(false);
+ }
+
+ static const struct of_device_id qcom_scm_dt_match[] = {