Merge branch 'for-2.6.33' into for-2.6.34
[linux-drm-fsl-dcu.git] / sound / soc / sh / fsi.c
index 123cd6f45e0c093ca60a30df2beffbff5830539a..5f9f2693f4ebff34d4183cc4d723608f75e59952 100644 (file)
@@ -903,7 +903,7 @@ static int fsi_probe(struct platform_device *pdev)
 
        res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
        irq = platform_get_irq(pdev, 0);
-       if (!res || !irq) {
+       if (!res || (int)irq <= 0) {
                dev_err(&pdev->dev, "Not enough FSI platform resources.\n");
                ret = -ENODEV;
                goto exit;