[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200906143945.GL3164319@lunn.ch>
Date: Sun, 6 Sep 2020 16:39:45 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: netdev@...r.kernel.org, "David S . Miller" <davem@...emloft.net>,
Hans Ulli Kroll <ulli.kroll@...glemail.com>
Subject: Re: [net-next PATCH v2] net: gemini: Clean up phy registration
On Sat, Sep 05, 2020 at 10:42:57PM +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>
> Reported-by: David Miller <davem@...emloft.net>
> Signed-off-by: Linus Walleij <linus.walleij@...aro.org>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists