diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/tlv320dac33.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/tlv320dac33.c b/sound/soc/codecs/tlv320dac33.c index ad1795a83acb..bcf6d934499a 100644 --- a/sound/soc/codecs/tlv320dac33.c +++ b/sound/soc/codecs/tlv320dac33.c | |||
@@ -589,6 +589,9 @@ static int dac33_set_bias_level(struct snd_soc_codec *codec, | |||
589 | } | 589 | } |
590 | break; | 590 | break; |
591 | case SND_SOC_BIAS_OFF: | 591 | case SND_SOC_BIAS_OFF: |
592 | /* Do not power off, when the codec is already off */ | ||
593 | if (codec->bias_level == SND_SOC_BIAS_OFF) | ||
594 | return 0; | ||
592 | ret = dac33_hard_power(codec, 0); | 595 | ret = dac33_hard_power(codec, 0); |
593 | if (ret != 0) | 596 | if (ret != 0) |
594 | return ret; | 597 | return ret; |