projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e13728
)
ODROID-COMMON: net/phy: realtek: Reinit phy after wakeup when WOL is disabled
author
Ray
<1458889+rayelec@users.noreply.github.com>
Wed, 24 Apr 2019 13:41:44 +0000
(15:41 +0200)
committer
Dongjin Kim
<tobetter@gmail.com>
Fri, 20 Mar 2020 05:39:51 +0000
(14:39 +0900)
When WOL is disabled the power is cut in uboot. After wakeup the speed
is very slow. Re-init fixes it.
Change-Id: I4bd936bea9d572529c1bd4f37d1776b4ae15ec80
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
drivers/net/phy/realtek.c
patch
|
blob
|
history
diff --git
a/drivers/net/phy/realtek.c
b/drivers/net/phy/realtek.c
index
2e22c60
..
323ec2a
100644
(file)
--- a/
drivers/net/phy/realtek.c
+++ b/
drivers/net/phy/realtek.c
@@
-250,7
+250,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__);