generic: 5.15: fix AQR 113C and 813
authorRobert Marko <robimarko@gmail.com>
Sun, 6 Mar 2022 11:33:35 +0000 (12:33 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 27 Mar 2022 01:17:24 +0000 (02:17 +0100)
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@gmail.com>
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
target/linux/generic/hack-5.15/720-net-phy-add-aqr-phys.patch

index 4d4420aa2f0bfde1ec99ef721fc7ec8cbf56d341..979308a908e23665a883ae2af1b0b2ccdd515ec4 100644 (file)
@@ -89,7 +89,7 @@ Signed-off-by: Birger Koblitz <git@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@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,