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: Peter Ujfalusi <peter.ujfalusi@nokia.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
This commit is contained in:
parent
18f454047b
commit
3e202345ab
@ -642,7 +642,8 @@ static int dac33_set_bias_level(struct snd_soc_codec *codec,
|
||||
|
||||
switch (level) {
|
||||
case SND_SOC_BIAS_ON:
|
||||
dac33_soft_power(codec, 1);
|
||||
if (!dac33->substream)
|
||||
dac33_soft_power(codec, 1);
|
||||
break;
|
||||
case SND_SOC_BIAS_PREPARE:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user