Re: [U-Boot] [PATCH] net: designware: remove mdio bus on probe failure

2019-07-12 Thread Joe Hershberger
On Fri, Jul 12, 2019 at 2:07 PM Simon Goldschmidt wrote: > > The designware eth driver registers an mdio bus during probe, but if no > PHY is found, this bus is never removed although probe failes and the > driver is shown as not probed in the dm tree. > > This later leads to errors when e.g. the

[U-Boot] [PATCH] net: designware: remove mdio bus on probe failure

2019-07-12 Thread Simon Goldschmidt
The designware eth driver registers an mdio bus during probe, but if no PHY is found, this bus is never removed although probe failes and the driver is shown as not probed in the dm tree. This later leads to errors when e.g. the mii or mdio commands try to use available mdio buses because the mdio