ASoC: Optimise DSP performance for WM8994
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 11 Aug 2010 17:03:54 +0000 (18:03 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 13 Aug 2010 13:55:01 +0000 (14:55 +0100)
Change the chip defaults to optimise performance of some of the DSP
functionality.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/codecs/wm8994.c

index a87046a96f2abb01df5bde6d23bc24c29c3bfa3a..2dc9daa95bed73b4086a73b5abc521cf64c8d940 100644 (file)
@@ -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 */