aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-jack.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-08-26 09:29:43 +0200
committerTakashi Iwai <tiwai@suse.de>2011-08-26 09:29:43 +0200
commit26b9b559ed9ff3bef5642ef731748d28d894705f (patch)
tree9145782f06f68f88c004828d5f85d8d772d1cde6 /sound/soc/soc-jack.c
parentALSA: hda: Conexant: Allow different output types to share DAC (diff)
parentASoC: Correct element count for WM8996 sidetone HPF (diff)
downloadlinux-dev-26b9b559ed9ff3bef5642ef731748d28d894705f.tar.xz
linux-dev-26b9b559ed9ff3bef5642ef731748d28d894705f.zip
Merge branch 'fix/asoc' into for-linus
Diffstat (limited to 'sound/soc/soc-jack.c')
-rw-r--r--sound/soc/soc-jack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-jack.c b/sound/soc/soc-jack.c
index 7c17b98d5846..38b00131b2fe 100644
--- a/sound/soc/soc-jack.c
+++ b/sound/soc/soc-jack.c
@@ -327,7 +327,7 @@ int snd_soc_jack_add_gpios(struct snd_soc_jack *jack, int count,
IRQF_TRIGGER_FALLING,
gpios[i].name,
&gpios[i]);
- if (ret)
+ if (ret < 0)
goto err;
if (gpios[i].wake) {