Thread (3 messages) flat view 3 messages, 2 authors, 2021-03-24

Re: [PATCH] net: axienet: allow setups without MDIO

From: Daniel Mack <daniel@zonque.org>
Date: 2021-03-24 13:05:06

On 3/24/21 1:38 PM, Andrew Lunn wrote:
On Wed, Mar 24, 2021 at 10:48:55AM +0100, Daniel Mack wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help