diff --git a/[refs] b/[refs] index e8114a32dc58..2aef1ee809db 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b8487928f5ca2976e4cb8d329943af849d2b6197 +refs/heads/master: d2b4c7bd7eabfaa2e3e5b8107d5eeb56ac879813 diff --git a/trunk/sound/soc/soc-jack.c b/trunk/sound/soc/soc-jack.c index 7c17b98d5846..38b00131b2fe 100644 --- a/trunk/sound/soc/soc-jack.c +++ b/trunk/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) {