diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-05-14 12:19:58 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-05-18 06:46:55 +0300 |
commit | ed3347e83cce7edf6cd9b5e530b9da11908d2f83 (patch) | |
tree | 5343ef4594227ba12ea14d4c24140ffabb60055a /sound/soc/codecs/da9055.c | |
parent | a3ea8a66f64ace02f91006f06fe904be5780b7d1 (diff) | |
download | linux-ed3347e83cce7edf6cd9b5e530b9da11908d2f83.tar.xz |
ASoC: da9055: Replace direct snd_soc_codec dapm field access
The dapm field of the snd_soc_codec struct is eventually going to be
removed, in preparation for this replace all manual access to
codec->dapm.bias_level with snd_soc_codec_get_bias_level().
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/da9055.c')
-rw-r--r-- | sound/soc/codecs/da9055.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/da9055.c b/sound/soc/codecs/da9055.c index 3bdc95a70112..66bb446473b8 100644 --- a/sound/soc/codecs/da9055.c +++ b/sound/soc/codecs/da9055.c @@ -1364,7 +1364,7 @@ static int da9055_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) { /* Enable VMID reference & master bias */ snd_soc_update_bits(codec, DA9055_REFERENCES, DA9055_VMID_EN | DA9055_BIAS_EN, |