mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
realtek: Reinit phy after wakeup when WOL is disabled
When WOL is disabled the power is cut in uboot. After wakeup the speed is very slow. Re-init fixes it.
This commit is contained in:
@@ -233,7 +233,7 @@ int rtl8211f_resume(struct phy_device *phydev)
|
||||
phy_write(phydev, RTL8211F_PAGE_SELECT, 0);
|
||||
mutex_unlock(&phydev->lock);
|
||||
} else {
|
||||
genphy_resume(phydev);
|
||||
rtl8211f_config_init(phydev);
|
||||
}
|
||||
pr_debug("%s %d\n", __func__, __LINE__);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user