diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-12-23 18:50:13 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-12-23 18:50:13 +0100 |
commit | 3095b165a14b1a95eb500bcaf13ad725a27fe825 (patch) | |
tree | fc63027bb6c613730d309f99767500faadef56ca /sound/soc/sh/fsi.c | |
parent | 4dc2ec09b80b32b54821f1776959740283efa5a2 (diff) | |
parent | 48e3cbb3f67a27d9c2db075f3d0f700246c40caa (diff) | |
download | linux-3095b165a14b1a95eb500bcaf13ad725a27fe825.tar.bz2 |
Merge branch 'fix/asoc' into for-linus
Diffstat (limited to 'sound/soc/sh/fsi.c')
-rw-r--r-- | sound/soc/sh/fsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c index 9c49c11c43ce..42813b808389 100644 --- a/sound/soc/sh/fsi.c +++ b/sound/soc/sh/fsi.c @@ -876,7 +876,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; |