Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c17b393 authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: Optimise DSP performance for WM8994



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

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent 2e2211a3
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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 */