Skip to content

Commit

Permalink
generic: 5.15: fix AQR 113C and 813
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
robimarko authored and dangowrt committed Mar 27, 2022
1 parent 81fdb6a commit 71efd34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions target/linux/generic/hack-5.15/720-net-phy-add-aqr-phys.patch
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 71efd34

Please sign in to comment.