]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: adau1977: Replace direct snd_soc_codec dapm field access
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 4 May 2015 16:46:10 +0000 (18:46 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 4 May 2015 17:31:17 +0000 (18:31 +0100)
commitc2b8bfb847dad65d38f815c75de647df7cd77dc2
treeee603d4298d420dffde9d1f514f2c73d05835db4
parentce88222e1fb53c38d3b94c3b5ceebe1d2ab4956d
ASoC: adau1977: 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 all
remaining 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/adau1977.c