diff options
author | Shenwei Wang <[email protected]> | 2022-10-14 09:47:28 -0500 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-10-15 11:51:51 +0100 |
commit | 96de900ae78e7dbedc937fd91bafe2934579c65a (patch) | |
tree | ba60f90e52d16eb4ce738a43729491911bc2d7cd /drivers/usb/cdns3/cdns3-ti.c | |
parent | fc8695eb11f07d936a4a9dbd15d7797986bc8b89 (diff) |
net: phylink: add mac_managed_pm in phylink_config structure
The recent commit
'commit 744d23c71af3 ("net: phy: Warn about incorrect
mdio_bus_phy_resume() state")'
requires the MAC driver explicitly tell the phy driver who is
managing the PM, otherwise you will see warning during resume
stage.
Add a boolean property in the phylink_config structure so that
the MAC driver can use it to tell the PHY driver if it wants to
manage the PM.
Fixes: 744d23c71af3 ("net: phy: Warn about incorrect mdio_bus_phy_resume() state")
Signed-off-by: Shenwei Wang <[email protected]>
Acked-by: Florian Fainelli <[email protected]>
Reviewed-by: Russell King (Oracle) <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions