[alsa-devel] [PATCH 3/3] ASoC: wm8994: Remove duplicate headset report
Mark Brown
broonie at opensource.wolfsonmicro.com
Tue Feb 26 18:15:34 CET 2013
We do the same report a few lines earlier for no good reason.
Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
---
sound/soc/codecs/wm8994.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index 1d98f28..8d77c8b 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -3541,9 +3541,6 @@ static void wm8958_mic_id(void *data, u16 status)
/* If we have jackdet that will detect removal */
wm1811_micd_stop(codec);
-
- snd_soc_jack_report(wm8994->micdet[0].jack, SND_JACK_HEADPHONE,
- SND_JACK_HEADSET);
}
}
--
1.7.10.4
More information about the Alsa-devel
mailing list