[alsa-devel] [PATCH 1/4] ASoC: Optimise DSP performance for WM8994

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Aug 13 15:39:23 CEST 2010


Change the chip defaults to optimise performance of some of the DSP
functionality.

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

diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index a87046a..2dc9daa 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -3082,10 +3082,11 @@ static int wm8994_set_bias_level(struct snd_soc_codec *codec,
 
 	case SND_SOC_BIAS_STANDBY:
 		if (codec->bias_level == SND_SOC_BIAS_OFF) {
-			/* Tweak DC servo configuration for improved
-			 * performance. */
+			/* Tweak DC servo and DSP configuration for
+			 * improved performance. */
 			snd_soc_write(codec, 0x102, 0x3);
 			snd_soc_write(codec, 0x56, 0x3);
+			snd_soc_write(codec, 0x817, 0);
 			snd_soc_write(codec, 0x102, 0);
 
 			/* Discharge LINEOUT1 & 2 */
-- 
1.7.1



More information about the Alsa-devel mailing list