Skip to content

Commit d36963b

Browse files
committed
Merge branch 'net-mvmdio-avoid-error-message-for-optional-IRQ'
Chris Packham says: ==================== net: mvmdio: avoid error message for optional IRQ I've gone ahead an sent a revert. This is the same as the original v1 except I've added Andrew's review to the commit message. ==================== Signed-off-by: David S. Miller <[email protected]>
2 parents 32ca98f + fa2632f commit d36963b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/net/ethernet/marvell/mvmdio.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,8 @@ static int orion_mdio_probe(struct platform_device *pdev)
364364
writel(MVMDIO_ERR_INT_SMI_DONE,
365365
dev->regs + MVMDIO_ERR_INT_MASK);
366366

367-
} else if (dev->err_interrupt < 0) {
368-
ret = dev->err_interrupt;
367+
} else if (dev->err_interrupt == -EPROBE_DEFER) {
368+
ret = -EPROBE_DEFER;
369369
goto out_mdio;
370370
}
371371

0 commit comments

Comments
 (0)