From: Robert Marko Date: Sun, 6 Mar 2022 11:33:35 +0000 (+0100) Subject: generic: 5.15: fix AQR 113C and 813 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=71efd34700e59f553367abb1b5de28c01f4c2d12;p=openwrt%2Fstaging%2Fneocturne.git 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 Signed-off-by: Ansuel Smith --- 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 + .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 + .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,