diff options
| author | Russell King (Oracle) <[email protected]> | 2025-01-20 10:28:54 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-01-21 00:32:42 +0000 |
| commit | b1754a69e7be48a64b3cdb0df60a96d97959da73 (patch) | |
| tree | 83a4b2dd842ca069d91edf67c82fa7a778605736 /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | Merge branch 'net-ethernet-ti-am65-cpsw-streamline-rx-tx-queue-creation-and-c... (diff) | |
| download | kernel-b1754a69e7be48a64b3cdb0df60a96d97959da73.tar.gz kernel-b1754a69e7be48a64b3cdb0df60a96d97959da73.zip | |
net: phylink: fix regression when binding a PHY
Some PHYs don't support clause 45 access, and return -EOPNOTSUPP from
phy_modify_mmd(), which causes phylink_bringup_phy() to fail. Prevent
this failure by allowing -EOPNOTSUPP to also mean success.
Reported-by: Jiawen Wu <[email protected]>
Tested-by: Jiawen Wu <[email protected]>
Signed-off-by: Russell King (Oracle) <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
