lan78xx: Check device ready bit (PMT_CTL_READY_) after reset the PHY
authorWoojung.Huh@microchip.com <Woojung.Huh@microchip.com>
Wed, 16 Sep 2015 23:40:39 +0000 (23:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Sep 2015 05:15:36 +0000 (22:15 -0700)
commit6c595b03b1087f9f18a809ee7ce1a79c746037d5
tree9b0e38d7db1c03b2652bef4d750fdbfa332272f8
parentbde6f9ded1bd37ff27a042dcb968e104d92b02c1
lan78xx: Check device ready bit (PMT_CTL_READY_) after reset the PHY

Check device ready bit (PMT_CTL_READY_) after reset the PHY.
Device may not be ready even if PHY_RST_ is cleared depends on configuration.

Signed-off-by: Woojung Huh <woojung.huh@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/lan78xx.c