]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: rt5670: Replace direct snd_soc_codec dapm field access
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 19 May 2015 19:49:10 +0000 (21:49 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 20 May 2015 10:18:32 +0000 (11:18 +0100)
commit6d8135ff00385c6b5149e19615c031ab3021df04
tree66c5de69c98b37d7db7d9ad9b1afa8fc96ce47a7
parenteb13bd563a21c34696c942690586e64389b3e054
ASoC: rt5670: 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/rt5670.c