summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-xlp.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2018-11-13 09:21:06 -0800
committerMark Brown <broonie@kernel.org>2018-11-13 09:21:06 -0800
commite0745aa91bc7245b58210949d39e1b0d0bf483f4 (patch)
treeced3fab6cd06dd469da35219c62b5258c51387ba /drivers/spi/spi-xlp.c
parent2d0e730e7977460655df8aeb0ffde2e9a143f82a (diff)
parent7a4269707deb6ab22d488eb1a9eedae3ef88abc5 (diff)
Merge tag 'v4.4.163' into linux-linaro-lsk-v4.4
This is the 4.4.163 stable release
Diffstat (limited to 'drivers/spi/spi-xlp.c')
-rw-r--r--drivers/spi/spi-xlp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-xlp.c b/drivers/spi/spi-xlp.c
index 8f04feca6ee3..0ddb0adaa8aa 100644
--- a/drivers/spi/spi-xlp.c
+++ b/drivers/spi/spi-xlp.c
@@ -392,8 +392,8 @@ static int xlp_spi_probe(struct platform_device *pdev)
irq = platform_get_irq(pdev, 0);
if (irq < 0) {
- dev_err(&pdev->dev, "no IRQ resource found\n");
- return -EINVAL;
+ dev_err(&pdev->dev, "no IRQ resource found: %d\n", irq);
+ return irq;
}
err = devm_request_irq(&pdev->dev, irq, xlp_spi_interrupt, 0,
pdev->name, xspi);