diff options
author | Mark Brown <broonie@kernel.org> | 2015-06-05 18:54:45 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-06-05 18:54:45 +0100 |
commit | 4b57895522b150966eebcf18f929e1c522d90bb9 (patch) | |
tree | 0852de7700b4d6dfeb091ad190c0599e32b6df46 /sound/soc/codecs/wm8903.c | |
parent | 2914b7004b932a7ddee97c026ebafd16ab841320 (diff) | |
parent | cc76e7def0fa27b5f42aea54e34c96b4bddaf30a (diff) | |
download | linux-4b57895522b150966eebcf18f929e1c522d90bb9.tar.bz2 |
Merge remote-tracking branch 'asoc/topic/dapm' into asoc-next
Diffstat (limited to 'sound/soc/codecs/wm8903.c')
-rw-r--r-- | sound/soc/codecs/wm8903.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/codecs/wm8903.c b/sound/soc/codecs/wm8903.c index 04b04f8e147c..b5322c1544fb 100644 --- a/sound/soc/codecs/wm8903.c +++ b/sound/soc/codecs/wm8903.c @@ -1105,7 +1105,7 @@ static int wm8903_set_bias_level(struct snd_soc_codec *codec, 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) { snd_soc_update_bits(codec, WM8903_BIAS_CONTROL_0, WM8903_POBCTRL | WM8903_ISEL_MASK | WM8903_STARTUP_BIAS_ENA | @@ -1200,8 +1200,6 @@ static int wm8903_set_bias_level(struct snd_soc_codec *codec, break; } - codec->dapm.bias_level = level; - return 0; } |