From 1d98079f8472d149733b981d524b58de35a2eb7d Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Sat, 13 Aug 2011 19:15:01 +0800 Subject: [PATCH] --- yaml --- r: 263357 b: refs/heads/master c: d2b4c7bd7eabfaa2e3e5b8107d5eeb56ac879813 h: refs/heads/master i: 263355: e1c445d2d2262275960e7b740b41a280ba4660fd v: v3 --- [refs] | 2 +- trunk/sound/soc/soc-jack.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {