aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-08-11 13:03:54 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-08-13 09:55:01 -0400
commit0c17b393942e4363061b61ca58f4d35a01b41ab3 (patch)
treeaf3c084c45d5d7ff274d7500d12494460e262684
parent2e2211a387e70c62e1249822a94f4a33933ecd62 (diff)
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>
-rw-r--r--sound/soc/codecs/wm8994.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index a87046a96f2a..2dc9daa95bed 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,
3082 3082
3083 case SND_SOC_BIAS_STANDBY: 3083 case SND_SOC_BIAS_STANDBY:
3084 if (codec->bias_level == SND_SOC_BIAS_OFF) { 3084 if (codec->bias_level == SND_SOC_BIAS_OFF) {
3085 /* Tweak DC servo configuration for improved 3085 /* Tweak DC servo and DSP configuration for
3086 * performance. */ 3086 * improved performance. */
3087 snd_soc_write(codec, 0x102, 0x3); 3087 snd_soc_write(codec, 0x102, 0x3);
3088 snd_soc_write(codec, 0x56, 0x3); 3088 snd_soc_write(codec, 0x56, 0x3);
3089 snd_soc_write(codec, 0x817, 0);
3089 snd_soc_write(codec, 0x102, 0); 3090 snd_soc_write(codec, 0x102, 0);
3090 3091
3091 /* Discharge LINEOUT1 & 2 */ 3092 /* Discharge LINEOUT1 & 2 */