Re: [PATCH] net: phy: handle state correctly in phy_stop_machine

From: David Miller
Date: Fri Mar 24 2017 - 15:28:14 EST


From: Zach Brown <zach.brown@xxxxxx>
Date: Wed, 22 Mar 2017 15:27:01 -0500

> From: Nathan Sullivan <nathan.sullivan@xxxxxx>
>
> 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.
>
> Signed-off-by: Nathan Sullivan <nathan.sullivan@xxxxxx>
> Signed-off-by: Brad Mouring <brad.mouring@xxxxxx>
> Acked-by: Xander Huff <xander.huff@xxxxxx>
> Acked-by: Kyle Roeschley <kyle.roeschley@xxxxxx>

Applied and queued up for -stable, thanks.