summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2017-05-11 11:24:16 -0700
committerDavid S. Miller <davem@davemloft.net>2017-05-11 23:06:18 -0400
commitdf0c8d911abf6ba97b2c2fc3c5a12769e0b081a3 (patch)
treec1bd0626eb82ad413cb88be179fae52ebb3abaa5 /net
parent6832a333ed4a7cc4fcb170c045d1d96d0976fdd4 (diff)
downloadlinux-df0c8d911abf6ba97b2c2fc3c5a12769e0b081a3.tar.bz2
net: phy: Call bus->reset() after releasing PHYs from reset
The API convention makes it that a given MDIO bus reset should be able to access PHY devices in its reset() callback and perform additional MDIO accesses in order to bring the bus and PHYs in a working state. Commit 69226896ad63 ("mdio_bus: Issue GPIO RESET to PHYs.") broke that contract by first calling bus->reset() and then release all PHYs from reset using their shared GPIO line, so restore the expected functionality here. Fixes: 69226896ad63 ("mdio_bus: Issue GPIO RESET to PHYs.") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions