mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
nvethernet: Skip the device resume via mdio bus
Enable "phydev->mac_managed_pm" so that device won't be resumed for second time via mdio bus Bug 4071996 Change-Id: Ib35bc1459bd882a2b940d4f28bd9d2c76719bfc7 Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2901540 Reviewed-by: Bhadram Varka <vbhadram@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Narayan Reddy <narayanr@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
e975e7bba9
commit
98b2b3ff4f
@@ -1231,6 +1231,8 @@ static int ether_phy_init(struct net_device *dev)
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
/* Skip the device resume via mdio bus */
|
||||
phydev->mac_managed_pm = true;
|
||||
pdata->phydev = phydev;
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user