Re: [PATCH] net: of_mdio: fix behavior on missing phy device

2013-05-08 Thread David Miller
From: Sebastian Hesselbarth 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

Re: [PATCH] net: of_mdio: fix behavior on missing phy device

2013-05-08 Thread David Miller
From: Sebastian Hesselbarth sebastian.hesselba...@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

Re: [PATCH] net: of_mdio: fix behavior on missing phy device

2013-05-07 Thread Sergei Shtylyov
Hello. On 07-05-2013 13:49, Sebastian Hesselbarth wrote: 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

[PATCH] net: of_mdio: fix behavior on missing phy device

2013-05-07 Thread Sebastian Hesselbarth
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 ---

[PATCH] net: of_mdio: fix behavior on missing phy device

2013-05-07 Thread Sebastian Hesselbarth
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

Re: [PATCH] net: of_mdio: fix behavior on missing phy device

2013-05-07 Thread Sergei Shtylyov
Hello. On 07-05-2013 13:49, Sebastian Hesselbarth wrote: 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