Sebastian Hesselbarth 058112c7ef net: of_mdio: fix behavior on missing phy device
of_mdiobus_register creates a phy_device even if get_phy_device failed
to create it previously. This causes indefinite polling on non-existent
PHYs. This fix makes of_mdio_register rely on get_phy_device to
properly create the device or fail otherwise.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-05-08 13:13:29 -07:00
..
2013-01-09 11:36:38 +01:00
2013-05-04 12:31:18 -07:00
2012-10-17 15:53:02 -05:00
2012-12-07 09:17:55 -08:00
2012-07-10 10:32:06 -05:00