Message ID | 4a90661372af73e056f7b243df9c039945715a3b.1652343655.git.lukas@wunner.de (mailing list archive) |
---|---|
State | Accepted |
Commit | 1e7b81edebc1466d4154c5e716eb87468f3eeee2 |
Headers | show |
Series | Polling be gone on LAN95xx | expand |
diff --git a/drivers/net/phy/smsc.c b/drivers/net/phy/smsc.c index e0eadea4b4b5..1b54684b68a0 100644 --- a/drivers/net/phy/smsc.c +++ b/drivers/net/phy/smsc.c @@ -91,7 +91,9 @@ static irqreturn_t smsc_phy_handle_interrupt(struct phy_device *phydev) irq_status = phy_read(phydev, MII_LAN83C185_ISF); if (irq_status < 0) { - phy_error(phydev); + if (irq_status != -ENODEV) + phy_error(phydev); + return IRQ_NONE; }