commit | b70da284be7b23921d5ee0421aecf9722cc36215 | [log] [tgz] |
---|---|---|
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | Wed Nov 28 09:02:41 2018 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jan 27 14:50:03 2020 +0100 |
tree | 8f79029234dbec10d734971913037c32840e7567 | |
parent | 6741727015dcdcf7ff91dcbd562d32a4b7920198 [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>