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)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 11 Aug 2015 18:48:25 +0000 (13:48 -0500)
commit59370f3fcd135089c402c93720a87c688abe600c
tree253f42ba7085f5af33b7295a8d1cc6ef42815644
parent2c171a2a5fc0865501a2e5043e9728036dac6dc3
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