DO NOT PUSH ar9344-reset
authorDavid Bauer <mail@david-bauer.net>
Sun, 5 Jan 2025 01:02:45 +0000 (02:02 +0100)
committerDavid Bauer <mail@david-bauer.net>
Sun, 5 Jan 2025 01:02:45 +0000 (02:02 +0100)
target/linux/ath79/patches-6.6/999-ath79-reset-state.patch [new file with mode: 0644]

diff --git a/target/linux/ath79/patches-6.6/999-ath79-reset-state.patch b/target/linux/ath79/patches-6.6/999-ath79-reset-state.patch
new file mode 100644 (file)
index 0000000..40ac79b
--- /dev/null
@@ -0,0 +1,13 @@
+--- a/drivers/reset/reset-ath79.c
++++ b/drivers/reset/reset-ath79.c
+@@ -149,6 +149,10 @@ static int ath79_reset_probe(struct plat
+       if (err)
+               dev_warn(&pdev->dev, "Failed to register restart handler\n");
++      if (of_device_is_compatible(ath79_reset->pdev->dev.of_node, "qca,ar9340-reset")) {
++              dev_warn(&pdev->dev, "Enabling extended AR9344 reset sequence");
++      }
++
+       return 0;
+ }