]> 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)
commitf21aeda7b631e7f28662b86922a7a267c1817def
tree66c5de69c98b37d7db7d9ad9b1afa8fc96ce47a7
parent3eb5967e592d1dd00ad0cd5491c6470e0512c7e7
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