summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/tas571x.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2015-08-30 14:52:12 (GMT)
committerMark Brown <broonie@kernel.org>2015-08-30 14:52:12 (GMT)
commitcb42e0f709a73caf4d631be32189bb1ca513ad25 (patch)
tree16a45cd33a8edf58967cd56cc74f51dbc3d91e5c /sound/soc/codecs/tas571x.c
parentca945cf9fb887ff64e63f324a9098a1bd848c58f (diff)
parentf2988afedf2c19880a3c65d79dfc7939e1b53d8a (diff)
downloadlinux-cb42e0f709a73caf4d631be32189bb1ca513ad25.tar.xz
Merge remote-tracking branch 'asoc/topic/rt5645' into asoc-next
Diffstat (limited to 'sound/soc/codecs/tas571x.c')
-rw-r--r--sound/soc/codecs/tas571x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/tas571x.c b/sound/soc/codecs/tas571x.c
index 85bcc37..39307ad 100644
--- a/sound/soc/codecs/tas571x.c
+++ b/sound/soc/codecs/tas571x.c
@@ -179,7 +179,7 @@ static int tas571x_set_bias_level(struct snd_soc_codec *codec,
case SND_SOC_BIAS_PREPARE:
break;
case SND_SOC_BIAS_STANDBY:
- if (codec->dapm.bias_level == SND_SOC_BIAS_OFF) {
+ if (snd_soc_codec_get_bias_level(codec) == SND_SOC_BIAS_OFF) {
if (!IS_ERR(priv->mclk)) {
ret = clk_prepare_enable(priv->mclk);
if (ret) {