diff options
author | Andrew Lunn <andrew@lunn.ch> | 2018-01-02 17:40:26 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-03 11:08:10 -0500 |
commit | ee7e16b66a766e8f922aafe5edf9353b9f37a424 (patch) | |
tree | a7ca54d710c39be572817745c38c5ed9316251bf /drivers/net/ethernet | |
parent | 318ff60eb4640817606cc2ea8d857b2d7de2455c (diff) | |
download | linux-ee7e16b66a766e8f922aafe5edf9353b9f37a424.tar.bz2 |
net: mdio: Only perform gpio reset for PHYs
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 <sean.wang@mediatek.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
0 files changed, 0 insertions, 0 deletions