]> Git Repo - linux.git/commit
net: phy: Fix not to call phy_resume() if PHY is not attached
authorYoshihiro Shimoda <[email protected]>
Wed, 28 Nov 2018 09:02:41 +0000 (09:02 +0000)
committerDavid S. Miller <[email protected]>
Mon, 3 Dec 2018 23:20:18 +0000 (15:20 -0800)
commitef1b5bf506b1f0ee3edc98533e1f3ecb105eb46a
tree2bfe0bea02406e531a9f281c156a33f99d21ebc8
parent4e4b08e55889da97dec750759f3ade8cc92b4644
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/phy/phy_device.c
This page took 0.056675 seconds and 4 git commands to generate.