Skip to content

Commit ecb478b

Browse files
committed
Merge remote-tracking branch 'spi/topic/xlp' into spi-next
2 parents 2dcfd28 + 9a6b947 commit ecb478b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/spi/spi-xlp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,8 @@ static int xlp_spi_probe(struct platform_device *pdev)
393393

394394
irq = platform_get_irq(pdev, 0);
395395
if (irq < 0) {
396-
dev_err(&pdev->dev, "no IRQ resource found\n");
397-
return -EINVAL;
396+
dev_err(&pdev->dev, "no IRQ resource found: %d\n", irq);
397+
return irq;
398398
}
399399
err = devm_request_irq(&pdev->dev, irq, xlp_spi_interrupt, 0,
400400
pdev->name, xspi);

0 commit comments

Comments
 (0)