[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200906122829.4a8503bb@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Sun, 6 Sep 2020 12:28:29 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: netdev@...r.kernel.org, "David S . Miller" <davem@...emloft.net>,
Arnd Bergmann <arnd@...db.de>,
Jakub Kicinski <jakub.kicinski@...ronome.com>,
Andrew Lunn <andrew@...n.ch>
Subject: Re: [PATCH v3] net: gemini: Clean up phy registration
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 <andrew@...n.ch>
> Reviewed-by: Andrew Lunn <andrew@...n.ch>
> Reported-by: David Miller <davem@...emloft.net>
> Signed-off-by: Linus Walleij <linus.walleij@...aro.org>
> ---
> 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!
Powered by blists - more mailing lists