[PATCH] net: of_mdio: fix behavior on missing phy device
    David Miller 
    davem at davemloft.net
       
    Thu May  9 06:14:48 EST 2013
    
    
  
From: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>
Date: Tue,  7 May 2013 11:49:31 +0200
> 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 at gmail.com>
Applied.
    
    
More information about the devicetree-discuss
mailing list