diff options
Diffstat (limited to 'sound/soc/codecs/wm8903.c')
-rw-r--r-- | sound/soc/codecs/wm8903.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8903.c b/sound/soc/codecs/wm8903.c index f656a000b369..ae1cadfae84c 100644 --- a/sound/soc/codecs/wm8903.c +++ b/sound/soc/codecs/wm8903.c | |||
@@ -1620,7 +1620,7 @@ int wm8903_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack, | |||
1620 | WM8903_MICDET_EINT | WM8903_MICSHRT_EINT, | 1620 | WM8903_MICDET_EINT | WM8903_MICSHRT_EINT, |
1621 | irq_mask); | 1621 | irq_mask); |
1622 | 1622 | ||
1623 | if (det && shrt) { | 1623 | if (det || shrt) { |
1624 | /* Enable mic detection, this may not have been set through | 1624 | /* Enable mic detection, this may not have been set through |
1625 | * platform data (eg, if the defaults are OK). */ | 1625 | * platform data (eg, if the defaults are OK). */ |
1626 | snd_soc_update_bits(codec, WM8903_WRITE_SEQUENCER_0, | 1626 | snd_soc_update_bits(codec, WM8903_WRITE_SEQUENCER_0, |