[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200529.124858.1944254056553169947.davem@davemloft.net>
Date: Fri, 29 May 2020 12:48:58 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: andrew@...n.ch, f.fainelli@...il.com, hkallweit1@...il.com,
linux@...linux.org.uk, kuba@...nel.org, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net-next] net: phy: marvell: unlock after
phy_select_page() failure
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Fri, 29 May 2020 13:02:07 +0300
> We need to call phy_restore_page() even if phy_select_page() fails.
> Otherwise we are holding the phy_lock_mdio_bus() lock. This requirement
> is documented at the start of the phy_select_page() function.
>
> Fixes: a618e86da91d ("net : phy: marvell: Speedup TDR data retrieval by only changing page once")
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied, thanks.
Powered by blists - more mailing lists