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
1 changed files with 2 additions and 1 deletions
|
@ -642,6 +642,7 @@ static int dac33_set_bias_level(struct snd_soc_codec *codec,
|
||||||
|
|
||||||
switch (level) {
|
switch (level) {
|
||||||
case SND_SOC_BIAS_ON:
|
case SND_SOC_BIAS_ON:
|
||||||
|
if (!dac33->substream)
|
||||||
dac33_soft_power(codec, 1);
|
dac33_soft_power(codec, 1);
|
||||||
break;
|
break;
|
||||||
case SND_SOC_BIAS_PREPARE:
|
case SND_SOC_BIAS_PREPARE:
|
||||||
|
|
Loading…
Add table
Reference in a new issue