Skip to content

Commit

Permalink
net/phy/realtek: Reinit phy after wakeup when WOL is disabled
Browse files Browse the repository at this point in the history
When WOL is disabled the power is cut in uboot. After wakeup the speed
is very slow. Re-init fixes it.
  • Loading branch information
Ray-future authored and Portisch committed May 23, 2020
1 parent 8874a32 commit 6154dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/phy/realtek.c
Expand Up @@ -244,7 +244,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__);

Expand Down

0 comments on commit 6154dbf

Please sign in to comment.