ASoC: rt5640: Replace direct snd_soc_codec dapm field access
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 19 May 2015 19:49:08 +0000 (21:49 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 20 May 2015 10:18:32 +0000 (11:18 +0100)
commit76aad74bdd050037bd28a02a56c30460532cdce6
treef6f15df56148770d9fb49cb1f674ffee2c9830c0
parent61aad0b91c537436932d399b14d1e9412e58c438
ASoC: rt5640: 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() and replace all
other manual access to codec->dapm with snd_soc_codec_get_dapm().

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5640.c