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

Commit 3e202345 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Liam Girdwood
Browse files

ASoC: tlv320dac33: Avoid multiple soft power up



During playback start the codec has been already powered at
BIAS_ON event time, so there's no need to enable the codec again.

Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent 18f45404
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -642,6 +642,7 @@ static int dac33_set_bias_level(struct snd_soc_codec *codec,

	switch (level) {
	case SND_SOC_BIAS_ON:
		if (!dac33->substream)
			dac33_soft_power(codec, 1);
		break;
	case SND_SOC_BIAS_PREPARE: