diff options
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, | |||
| 327 | IRQF_TRIGGER_FALLING, | 327 | IRQF_TRIGGER_FALLING, |
| 328 | gpios[i].name, | 328 | gpios[i].name, |
| 329 | &gpios[i]); | 329 | &gpios[i]); |
| 330 | if (ret) | 330 | if (ret < 0) |
| 331 | goto err; | 331 | goto err; |
| 332 | 332 | ||
| 333 | if (gpios[i].wake) { | 333 | if (gpios[i].wake) { |
