AW: [PATCH] net: usb: lan78xx: lan78xx_phy_init(): use PHY_POLL instead of "0" if no IRQ is available

From: Sven Schuchmann
Date: Sat Nov 27 2021 - 05:39:01 EST


Hello Jakub,

> Von: Jakub Kicinski <kuba@xxxxxxxxxx>
> Gesendet: Freitag, 26. November 2021 20:35
> An: Andrew Lunn <andrew@xxxxxxx>; Sven Schuchmann <schuchmann@xxxxxxxxxxxxxxxxx>
> Cc: Woojung Huh <woojung.huh@xxxxxxxxxxxxx>; UNGLinuxDriver@xxxxxxxxxxxxx; David S. Miller
> <davem@xxxxxxxxxxxxx>; netdev@xxxxxxxxxxxxxxx; linux-usb@xxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx
> Betreff: Re: [PATCH] net: usb: lan78xx: lan78xx_phy_init(): use PHY_POLL instead of "0" if
> no IRQ is available
>
> On Fri, 26 Nov 2021 16:57:50 +0100 Andrew Lunn wrote:
> > On Fri, Nov 26, 2021 at 04:20:40PM +0100, Sven Schuchmann wrote:
> > > On most systems request for IRQ 0 will fail, phylib will print an error message
> > > and fall back to polling. To fix this set the phydev->irq to PHY_POLL if no IRQ
> > > is available.
> > >
> > > Signed-off-by: Sven Schuchmann <schuchmann@xxxxxxxxxxxxxxxxx>
> >
> > Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
>
> Fixes: cc89c323a30e ("lan78xx: Use irq_domain for phy interrupt from USB Int. EP")
>
> right?

Seems right, will send a v2

Sven