Re: [PATCH net, v3] of_mdio: avoid MDIO bus removal when a PHY is missing
From: David Miller
Date: Wed Jan 10 2018 - 15:08:14 EST
From: Madalin Bucur <madalin.bucur@xxxxxxx>
Date: Tue, 9 Jan 2018 14:43:34 +0200
> If one of the child devices is missing the of_mdiobus_register_phy()
> call will return -ENODEV. When a missing device is encountered the
> registration of the remaining PHYs is stopped and the MDIO bus will
> fail to register. Propagate all errors except ENODEV to avoid it.
>
> Signed-off-by: Madalin Bucur <madalin.bucur@xxxxxxx>
Applied.