diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-08-26 11:29:43 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-08-26 11:29:43 +0400 |
commit | 26b9b559ed9ff3bef5642ef731748d28d894705f (patch) | |
tree | 9145782f06f68f88c004828d5f85d8d772d1cde6 /sound/soc/soc-jack.c | |
parent | 468c5458856236cde6df1b0654d32bf6625349a5 (diff) | |
parent | 18036b5866b5e407a28f444a80de186a5d7df767 (diff) | |
download | linux-26b9b559ed9ff3bef5642ef731748d28d894705f.tar.xz |
Merge branch 'fix/asoc' into for-linus
Diffstat (limited to 'sound/soc/soc-jack.c')
-rw-r--r-- | sound/soc/soc-jack.c | 2 |
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) { |