[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y3IdJjCYb/L+ph9D@shell.armlinux.org.uk>
Date: Mon, 14 Nov 2022 10:49:10 +0000
From: "Russell King (Oracle)" <linux@...linux.org.uk>
To: Liu Jian <liujian56@...wei.com>
Cc: chris.snook@...il.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, linux@...pel-privat.de,
netdev@...r.kernel.org
Subject: Re: [PATCH] net: ag71xx: call phylink_disconnect_phy if
ag71xx_hw_enable() fail in ag71xx_open()
On Mon, Nov 14, 2022 at 05:55:49PM +0800, Liu Jian wrote:
> If ag71xx_hw_enable() fails, call phylink_disconnect_phy() to clean up.
> And if phylink_of_phy_connect() fails, nothing needs to be done.
> Compile tested only.
>
> Fixes: 892e09153fa3 ("net: ag71xx: port to phylink")
> Signed-off-by: Liu Jian <liujian56@...wei.com>
LGTM.
Reviewed-by: Russell King (Oracle) <rmk+kernel@...linux.org.uk>
Thanks.
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!
Powered by blists - more mailing lists