ASoC: Optimise DSP performance for WM8994

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>
This commit is contained in:
Mark Brown 2010-08-11 18:03:54 +01:00
parent 2e2211a387
commit 0c17b39394

View file

@ -3082,10 +3082,11 @@ static int wm8994_set_bias_level(struct snd_soc_codec *codec,
case SND_SOC_BIAS_STANDBY: case SND_SOC_BIAS_STANDBY:
if (codec->bias_level == SND_SOC_BIAS_OFF) { if (codec->bias_level == SND_SOC_BIAS_OFF) {
/* Tweak DC servo configuration for improved /* Tweak DC servo and DSP configuration for
* performance. */ * improved performance. */
snd_soc_write(codec, 0x102, 0x3); snd_soc_write(codec, 0x102, 0x3);
snd_soc_write(codec, 0x56, 0x3); snd_soc_write(codec, 0x56, 0x3);
snd_soc_write(codec, 0x817, 0);
snd_soc_write(codec, 0x102, 0); snd_soc_write(codec, 0x102, 0);
/* Discharge LINEOUT1 & 2 */ /* Discharge LINEOUT1 & 2 */