diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2018-11-28 09:02:41 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-29 10:24:04 +0100 |
commit | 31bf048f860e8bc60ef6e28cf0e866c4c65eba9f (patch) | |
tree | 0762185bef07358b7bf5e7c1e707414e7f7be274 /net/batman-adv | |
parent | 24a342cf22646569cd137ba091d20b69ec2f6e9d (diff) |
net: phy: Fix not to call phy_resume() if PHY is not attached
[ Upstream commit ef1b5bf506b1f0ee3edc98533e1f3ecb105eb46a ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/batman-adv')
0 files changed, 0 insertions, 0 deletions