[alsa-devel] [PATCH] ASoC: Tune down active mode detection rate for WM8958 mic detection

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Dec 1 13:54:46 CET 2011


Saves a little power.

Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
---
 sound/soc/codecs/wm8994.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index e686a4c..3ede78f 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -70,8 +70,8 @@ struct wm8958_micd_rate {
 static const struct wm8958_micd_rate micdet_rates[] = {
 	{ 32768,       true,  1, 4 },
 	{ 32768,       false, 1, 1 },
-	{ 44100 * 256, true,  7, 6 },
-	{ 44100 * 256, false, 7, 6 },
+	{ 44100 * 256, true,  7, 10 },
+	{ 44100 * 256, false, 7, 10 },
 };
 
 static const struct wm8958_micd_rate jackdet_rates[] = {
-- 
1.7.7.3



More information about the Alsa-devel mailing list