On Sun, 6 Sep 2020 21:21:13 +0200 Linus Walleij wrote: > It's nice if the phy is online before we register the netdev > so try to do that first. > > Stop trying to do "second tried" to register the phy, it > works perfectly fine the first time. > > Stop remvoving the phy in uninit. Remove it when the > driver is remove():d, symmetric to where it is added, in > probe(). > > Suggested-by: Andrew Lunn <[email protected]> > Reviewed-by: Andrew Lunn <[email protected]> > Reported-by: David Miller <[email protected]> > Signed-off-by: Linus Walleij <[email protected]> > --- > ChangeLog v2->v3: > - Fix a goto on the errorpath noticed by Jakub. > ChangeLog v1->v2: > - Do a deeper clean-up and remove the confusion around > how the phy is registered.
Applied, thanks!
