realtek: 6.6: copy patch 305-irqchip-update-dependency-for-irq-realtek-rtl
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Sun, 11 Aug 2024 13:19:27 +0000 (09:19 -0400)
committerSander Vanheule <sander@svanheule.net>
Sat, 14 Sep 2024 17:58:55 +0000 (19:58 +0200)
Copy the patch file to 6.6

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
target/linux/realtek/patches-6.6/305-irqchip-update-dependency-for-irq-realtek-rtl.patch [new file with mode: 0644]

diff --git a/target/linux/realtek/patches-6.6/305-irqchip-update-dependency-for-irq-realtek-rtl.patch b/target/linux/realtek/patches-6.6/305-irqchip-update-dependency-for-irq-realtek-rtl.patch
new file mode 100644 (file)
index 0000000..a94a3ff
--- /dev/null
@@ -0,0 +1,25 @@
+From 2cd00b51470a30198b048a5fca48a04db77e29cc Mon Sep 17 00:00:00 2001
+From: INAGAKI Hiroshi <musashino.open@gmail.com>
+Date: Fri, 21 May 2021 23:16:37 +0900
+Subject: [PATCH] realtek: backport irq-realtek-rtl driver from 5.12 to 5.10
+
+This patch backports "irq-realtek-rtl" driver to Kernel 5.10 from 5.12.
+"MACH_REALTEK_RTL" is used as a platform name in upstream, but "RTL838X"
+is used in OpenWrt, so update the dependency by the additional patch.
+
+Submitted-by: INAGAKI Hiroshi <musashino.open@gmail.com>
+---
+ drivers/irqchip/Makefile                      | 2 +-
+ 1 files changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/irqchip/Makefile
++++ b/drivers/irqchip/Makefile
+@@ -112,7 +112,7 @@ obj-$(CONFIG_LOONGSON_PCH_PIC)             += irq-l
+ obj-$(CONFIG_LOONGSON_PCH_MSI)                += irq-loongson-pch-msi.o
+ obj-$(CONFIG_MST_IRQ)                 += irq-mst-intc.o
+ obj-$(CONFIG_SL28CPLD_INTC)           += irq-sl28cpld.o
+-obj-$(CONFIG_MACH_REALTEK_RTL)                += irq-realtek-rtl.o
++obj-$(CONFIG_RTL83XX)                 += irq-realtek-rtl.o
+ obj-$(CONFIG_WPCM450_AIC)             += irq-wpcm450-aic.o
+ obj-$(CONFIG_IRQ_IDT3243X)            += irq-idt3243x.o
+ obj-$(CONFIG_APPLE_AIC)                       += irq-apple-aic.o