[openwrt/openwrt] generic: 5.15: fix AQR 113C and 813

LEDE Commits lede-commits at lists.infradead.org
Sat Mar 26 21:19:50 PDT 2022


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/71efd34700e59f553367abb1b5de28c01f4c2d12

commit 71efd34700e59f553367abb1b5de28c01f4c2d12
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Sun Mar 6 12:33:35 2022 +0100

    generic: 5.15: fix AQR 113C and 813
    
    Patches that add the additional AQR PHY ID-s is just copy/paste from 5.10
    and kernel 5.11 dropped the ack_interrupt method for PHY IRQ handling,
    instead handle_interrupt is used.
    
    So, simply switch to using handle_interrupt like other upstream AQR PHY-s.
    
    Signed-off-by: Robert Marko <robimarko at gmail.com>
    Signed-off-by: Ansuel Smith <ansuelsmth at gmail.com>
---
 target/linux/generic/hack-5.15/720-net-phy-add-aqr-phys.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/generic/hack-5.15/720-net-phy-add-aqr-phys.patch b/target/linux/generic/hack-5.15/720-net-phy-add-aqr-phys.patch
index 4d4420aa2f..979308a908 100644
--- a/target/linux/generic/hack-5.15/720-net-phy-add-aqr-phys.patch
+++ b/target/linux/generic/hack-5.15/720-net-phy-add-aqr-phys.patch
@@ -89,7 +89,7 @@ Signed-off-by: Birger Koblitz <git at birger-koblitz.de>
 +	.config_init	= aqr107_config_init,
 +	.config_aneg    = aqr_config_aneg,
 +	.config_intr	= aqr_config_intr,
-+	.ack_interrupt	= aqr_ack_interrupt,
++	.handle_interrupt = aqr_handle_interrupt,
 +	.read_status	= aqr113c_read_status,
 +	.get_tunable    = aqr107_get_tunable,
 +	.set_tunable    = aqr107_set_tunable,
@@ -115,7 +115,7 @@ Signed-off-by: Birger Koblitz <git at birger-koblitz.de>
 +	.config_init	= aqr107_config_init,
 +	.config_aneg    = aqr_config_aneg,
 +	.config_intr	= aqr_config_intr,
-+	.ack_interrupt	= aqr_ack_interrupt,
++	.handle_interrupt = aqr_handle_interrupt,
 +	.read_status	= aqr113c_read_status,
 +	.get_tunable    = aqr107_get_tunable,
 +	.set_tunable    = aqr107_set_tunable,




More information about the lede-commits mailing list