diff options
| author | Oleksij Rempel <[email protected]> | 2025-09-08 11:26:19 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-09-11 00:49:09 +0000 |
| commit | 5537a4679403423e0b49c95b619983a4583d69c5 (patch) | |
| tree | f8568408effc96a91b08090378fc66a163b4038e /rust/helpers/rbtree.c | |
| parent | net: ethtool: fix wrong type used in struct kernel_ethtool_ts_info (diff) | |
| download | kernel-5537a4679403423e0b49c95b619983a4583d69c5.tar.gz kernel-5537a4679403423e0b49c95b619983a4583d69c5.zip | |
net: usb: asix: ax88772: drop phylink use in PM to avoid MDIO runtime PM wakeups
Drop phylink_{suspend,resume}() from ax88772 PM callbacks.
MDIO bus accesses have their own runtime-PM handling and will try to
wake the device if it is suspended. Such wake attempts must not happen
from PM callbacks while the device PM lock is held. Since phylink
{sus|re}sume may trigger MDIO, it must not be called in PM context.
No extra phylink PM handling is required for this driver:
- .ndo_open/.ndo_stop control the phylink start/stop lifecycle.
- ethtool/phylib entry points run in process context, not PM.
- phylink MAC ops program the MAC on link changes after resume.
Fixes: e0bffe3e6894 ("net: asix: ax88772: migrate to phylink")
Reported-by: Hubert Wiśniewski <[email protected]>
Cc: [email protected]
Signed-off-by: Oleksij Rempel <[email protected]>
Tested-by: Hubert Wiśniewski <[email protected]>
Tested-by: Xu Yang <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'rust/helpers/rbtree.c')
0 files changed, 0 insertions, 0 deletions
