Files
linux/drivers
Nathan Sullivan 0e9eeb4676 net: phy: handle state correctly in phy_stop_machine
[ Upstream commit 49d52e8108 ]

If the PHY is halted on stop, then do not set the state to PHY_UP.  This
ensures the phy will be restarted later in phy_start when the machine is
started again.

Fixes: 00db8189d9 ("This patch adds a PHY Abstraction Layer to the Linux Kernel, enabling ethernet drivers to remain as ignorant as is reasonable of the connected PHY's design and operation details.")
Signed-off-by: Nathan Sullivan <nathan.sullivan@ni.com>
Signed-off-by: Brad Mouring <brad.mouring@ni.com>
Acked-by: Xander Huff <xander.huff@ni.com>
Acked-by: Kyle Roeschley <kyle.roeschley@ni.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-05-02 21:19:51 -07:00
..
2017-04-21 09:30:07 +02:00
2017-05-02 21:19:47 -07:00
2017-05-02 21:19:48 -07:00
2017-04-12 12:38:33 +02:00
2016-09-24 10:07:35 +02:00
2017-01-12 11:22:47 +01:00
2017-02-23 17:43:10 +01:00
2017-04-21 09:30:07 +02:00
2017-03-30 09:35:17 +02:00