diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2018-11-28 09:02:41 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-03 15:20:18 -0800 |
commit | ef1b5bf506b1f0ee3edc98533e1f3ecb105eb46a (patch) | |
tree | 2bfe0bea02406e531a9f281c156a33f99d21ebc8 /samples/livepatch/livepatch-shadow-mod.c | |
parent | 4e4b08e55889da97dec750759f3ade8cc92b4644 (diff) | |
download | linux-stable-ef1b5bf506b1f0ee3edc98533e1f3ecb105eb46a.tar.gz linux-stable-ef1b5bf506b1f0ee3edc98533e1f3ecb105eb46a.tar.bz2 linux-stable-ef1b5bf506b1f0ee3edc98533e1f3ecb105eb46a.zip |
net: phy: Fix not to call phy_resume() if PHY is not attached
This patch fixes an issue that mdio_bus_phy_resume() doesn't call
phy_resume() if the PHY is not attached.
Fixes: 803dd9c77ac3 ("net: phy: avoid suspending twice a PHY")
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/livepatch/livepatch-shadow-mod.c')
0 files changed, 0 insertions, 0 deletions