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:
Ray
2019-04-24 15:41:44 +02:00
committed by Dongjin Kim
parent 2c0490bd9c
commit 1cb779efc5

View File

@@ -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__);