diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-21 10:46:08 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-21 10:46:08 -0500 |
commit | cd6a22310ec2a70092e136d0cd65bb77c1502521 (patch) | |
tree | c01fa788b27b240c7b426d7f329d92bd58c7b8f5 /drivers/net/phy | |
parent | 1e12a521d6917004f8b95a3b5864b92edc2694c8 (diff) | |
parent | 177c459b08a34dcf004aa9a4c1f1d8be682ff3af (diff) |
Merge USB 4.20-rc8 mergepoint into usb-next
We need the USB changes in here for additional patches to be able to
apply cleanly.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r-- | drivers/net/phy/phy_device.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c index 18e92c19c5ab..26c41ede54a4 100644 --- a/drivers/net/phy/phy_device.c +++ b/drivers/net/phy/phy_device.c | |||
@@ -308,11 +308,8 @@ static int mdio_bus_phy_restore(struct device *dev) | |||
308 | if (ret < 0) | 308 | if (ret < 0) |
309 | return ret; | 309 | return ret; |
310 | 310 | ||
311 | /* The PHY needs to renegotiate. */ | 311 | if (phydev->attached_dev && phydev->adjust_link) |
312 | phydev->link = 0; | 312 | phy_start_machine(phydev); |
313 | phydev->state = PHY_UP; | ||
314 | |||
315 | phy_start_machine(phydev); | ||
316 | 313 | ||
317 | return 0; | 314 | return 0; |
318 | } | 315 | } |