Skip to content
Snippets Groups Projects
Commit 231117a5 authored by Sven Schuchmann's avatar Sven Schuchmann Committed by Greg Kroah-Hartman
Browse files

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


commit 817b6531 upstream.

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.

Fixes: cc89c323 ("lan78xx: Use irq_domain for phy interrupt from USB Int. EP")
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarSven Schuchmann <schuchmann@schleissheimer.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 823ae758
No related branches found
No related tags found
1 merge request!448Draft: hi846: add 816x612 full-sensor mode
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment