net: phy: delay only if reset handler is registered
authorJörg Krause <joerg.krause@embedded.rocks>
Wed, 15 Jul 2015 13:18:22 +0000 (15:18 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:42 +0000 (08:17 +0200)
commitb84fa855427f4b033542588c84a8667dfd1d3792
treeeeae6bd6b8beba7d1cd119cd81a7a86bdb9c15de
parentaa42a916c424d628db7b4b43f4f9a82a326b9471
net: phy: delay only if reset handler is registered

With commit e3a77218a256edbe201112a39beeed8adcabae3f the MII bus is only
reset if a reset handler is registered. If there is no reset handler there
is no need to wait for a device to come out of the reset.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
drivers/net/phy/phy.c