[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <161c58bd-7d04-beeb-50e2-25a44a397b2b@zonque.org>
Date: Wed, 24 Mar 2021 14:03:53 +0100
From: Daniel Mack <daniel@...que.org>
To: Andrew Lunn <andrew@...n.ch>
Cc: radhey.shyam.pandey@...inx.com, davem@...emloft.net,
kuba@...nel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] net: axienet: allow setups without MDIO
On 3/24/21 1:38 PM, Andrew Lunn wrote:
> On Wed, Mar 24, 2021 at 10:48:55AM +0100, Daniel Mack wrote:
>> In setups with fixed-link settings on the hardware bus there is no mdio node
>> in DTS. axienet_probe() already handles that gracefully but lp->mii_bus is
>> then NULL.
>>
>> Fix code that tries to blindly grab the MDIO lock by introducing two helper
>> functions that make the locking conditional.
>
> Hi Danial
>
> What about axienet_dma_err_handler()?
Ah, I missed that one. Thanks a lot! Will send a v2.
Daniel
Powered by blists - more mailing lists