You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
net: phy: icplus: call phy_restore_page() when phy_select_page() fails
The comments to phy_select_page() say that "phy_restore_page() must
always be called after this, irrespective of success or failure of this
call." If we don't call phy_restore_page() then we are still holding
the phy_lock_mdio_bus() so it eventually leads to a dead lock.
Fixes: 32ab60e ("net: phy: icplus: add MDI/MDIX support for IP101A/G")
Fixes: f9bc51e ("net: phy: icplus: fix paged register access")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Michael Walle <[email protected]>
Reviewed-by: Russell King <[email protected]>
Link: https://lore.kernel.org/r/YC+OpFGsDPXPnXM5@mwanda
Signed-off-by: Jakub Kicinski <[email protected]>
0 commit comments