aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2023-03-15 08:41:15 +0100
committerJakub Kicinski <[email protected]>2023-03-16 17:13:55 -0700
commitc6be7136afb224a01d4cde2983ddebac8da98693 (patch)
tree3cfe1e17ea400fb2864451c35d481626b37593a9 /drivers/usb/cdns3/cdns3-imx.c
parent7f5ebf5dae42e710162f1c481ebcf28ab7b741c7 (diff)
sh_eth: avoid PHY being resumed when interface is not up
SH_ETH doesn't need mdiobus suspend/resume, that's why it sets 'mac_managed_pm'. However, setting it needs to be moved from init to probe, so mdiobus PM functions will really never be called (e.g. when the interface is not up yet during suspend/resume). Fixes: 6a1dbfefdae4 ("net: sh_eth: Fix PHY state warning splat during system resume") Suggested-by: Heiner Kallweit <[email protected]> Signed-off-by: Wolfram Sang <[email protected]> Reviewed-by: Michal Kubiak <[email protected]> Reviewed-by: Sergey Shtylyov <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions