Message ID | 1260306850-14945-2-git-send-email-u.kleine-koenig@pengutronix.de (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/drivers/spi/spi_imx.c b/drivers/spi/spi_imx.c index c83ca05..d8d9a35 100644 --- a/drivers/spi/spi_imx.c +++ b/drivers/spi/spi_imx.c @@ -554,7 +554,7 @@ static int __init spi_imx_probe(struct platform_device *pdev) } spi_imx->irq = platform_get_irq(pdev, 0); - if (!spi_imx->irq) { + if (spi_imx->irq < 0) { ret = -EINVAL; goto out_iounmap; }