diff mbox

[1/2] spi_imx.c: CSPI3 irq is 0 on imx25

Message ID 1293102730-32528-1-git-send-email-richard.genoud@gmail.com (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Richard Genoud Dec. 23, 2010, 11:12 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/spi/spi_imx.c b/drivers/spi/spi_imx.c
index 55a38e2..793ae99 100644
--- a/drivers/spi/spi_imx.c
+++ b/drivers/spi/spi_imx.c
@@ -847,7 +847,7 @@  static int __devinit spi_imx_probe(struct platform_device *pdev)
 	}
 
 	spi_imx->irq = platform_get_irq(pdev, 0);
-	if (spi_imx->irq <= 0) {
+	if (spi_imx->irq < 0) {
 		ret = -EINVAL;
 		goto out_iounmap;
 	}