From: Andrew Lunn <[email protected]>
Date: Tue, 2 Jan 2018 17:40:26 +0100
> Ethernet switch on the MDIO bus have historically performed their own
> handling of the GPIO reset line. The resent patch to have the MDIO
> core handle the reset has broken the switch drivers, in that they
> cannot claim the GPIO. Some switch drivers need more control over the
> GPIO line than what the MDIO core provides. So restore the historical
> behaviour by only performing a reset of PHYs, not switches.
>
> Fixes: bafbdd527d56 ("phylib: Add device reset GPIO support")
> Reported-by: Sean Wang <[email protected]>
> Signed-off-by: Andrew Lunn <[email protected]>
Applied, thanks Andrew.