]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm8996: Replace codec->control_data with wm8996->regmap
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 22 Feb 2014 17:32:04 +0000 (18:32 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 25 Feb 2014 04:35:19 +0000 (13:35 +0900)
commit29da322bf0f9c18a0cd146984ac743fd5b8b9498
treeaee9c1f8e19c6a12431f793e73c69cb80c9e59a8
parent7c88a0af9e0d3829f08d791efbf86092a9344b56
ASoC: wm8996: Replace codec->control_data with wm8996->regmap

With the ongoing component-ization of the ASoC framework and the continuing
migration to using regmap for IO the control_data field of the snd_soc_codec
struct will eventually be removed. Prepare the wm8996 driver for this by using
wm8996->regmap instead of accessing the CODEC's control_data field.

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