diff options
author | Mark Brown <broonie@kernel.org> | 2015-06-19 10:17:19 (GMT) |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-06-19 10:17:19 (GMT) |
commit | 89a6192049050035cbd779d35686cbf29ca9184f (patch) | |
tree | f63c3344dc7ce4da5589d043d6135c7ff81508fd /sound/soc/codecs/sgtl5000.c | |
parent | f9f55e31f8a537b7eaccc4fdb243cff938fa428c (diff) | |
parent | cc76e7def0fa27b5f42aea54e34c96b4bddaf30a (diff) | |
download | linux-89a6192049050035cbd779d35686cbf29ca9184f.tar.xz |
Merge branches 'topic/adsp' and 'topic/dapm' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-arizona
Diffstat (limited to 'sound/soc/codecs/sgtl5000.c')
-rw-r--r-- | sound/soc/codecs/sgtl5000.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c index 3593a14..661ed4d 100644 --- a/sound/soc/codecs/sgtl5000.c +++ b/sound/soc/codecs/sgtl5000.c @@ -948,7 +948,7 @@ static int sgtl5000_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) { ret = regulator_bulk_enable( ARRAY_SIZE(sgtl5000->supplies), sgtl5000->supplies); @@ -979,7 +979,6 @@ static int sgtl5000_set_bias_level(struct snd_soc_codec *codec, break; } - codec->dapm.bias_level = level; return 0; } |