]> git.baikalelectronics.ru Git - kernel.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)
commit492432884670f3c98c90ce7123b771e4a519835c
tree66c5de69c98b37d7db7d9ad9b1afa8fc96ce47a7
parent360d186afbf621ed21a586a140aa8c0245bbf59f
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