diff options
-rw-r--r-- | sound/soc/codecs/wm8990.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8990.c b/sound/soc/codecs/wm8990.c index ff377cab5775..1993fd2a6f15 100644 --- a/sound/soc/codecs/wm8990.c +++ b/sound/soc/codecs/wm8990.c | |||
@@ -1124,7 +1124,7 @@ static int wm8990_set_bias_level(struct snd_soc_codec *codec, | |||
1124 | break; | 1124 | break; |
1125 | 1125 | ||
1126 | case SND_SOC_BIAS_STANDBY: | 1126 | case SND_SOC_BIAS_STANDBY: |
1127 | if (codec->dapm.bias_level == SND_SOC_BIAS_OFF) { | 1127 | if (snd_soc_codec_get_bias_level(codec) == SND_SOC_BIAS_OFF) { |
1128 | ret = regcache_sync(wm8990->regmap); | 1128 | ret = regcache_sync(wm8990->regmap); |
1129 | if (ret < 0) { | 1129 | if (ret < 0) { |
1130 | dev_err(codec->dev, "Failed to sync cache: %d\n", ret); | 1130 | dev_err(codec->dev, "Failed to sync cache: %d\n", ret); |