Skip to content

Commit 9acdbc0

Browse files
committed
Merge branch 'linux-6.6-trunk/at91/net' into linux-6.6-mchp
2 parents 878cd8f + fea8ee4 commit 9acdbc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/phy/micrel.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3433,7 +3433,7 @@ static int lan8841_config_intr(struct phy_device *phydev)
34333433

34343434
if (phydev->interrupts == PHY_INTERRUPT_ENABLED) {
34353435
err = phy_read(phydev, LAN8814_INTS);
3436-
if (err)
3436+
if (err < 0)
34373437
return err;
34383438

34393439
/* Enable / disable interrupts. It is OK to enable PTP interrupt

0 commit comments

Comments
 (0)