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:
4802d80
)
phy_device: fix: do not check for suspend on resume Only check if the device was...
author
Portisch
<hugo.portisch@yahoo.de>
Tue, 5 Mar 2019 12:10:12 +0000
(13:10 +0100)
committer
Nick Xie
<nick@khadas.com>
Fri, 12 Jul 2019 05:35:46 +0000
(13:35 +0800)
drivers/net/phy/phy_device.c
patch
|
blob
|
history
diff --git
a/drivers/net/phy/phy_device.c
b/drivers/net/phy/phy_device.c
index
2bca955
..
ec88e00
100644
(file)
--- a/
drivers/net/phy/phy_device.c
+++ b/
drivers/net/phy/phy_device.c
@@
-136,7
+136,7
@@
static int mdio_bus_phy_resume(struct device *dev)
struct phy_device *phydev = to_phy_device(dev);
int ret;
- if (!
mdio_bus_phy_may_suspend(phydev)
)
+ if (!
phydev->suspended
)
goto no_resume;
ret = phy_resume(phydev);