]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: wm8962: Replace codec->control_data with wm8962->regmap
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 22 Feb 2014 17:32:05 +0000 (18:32 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 25 Feb 2014 04:35:48 +0000 (13:35 +0900)
commitd7f31d3c898e3e621a34d5d64966f7b830df66f1
tree182821b81720143927e6f94a861fe66c91bfd0a8
parentda6ebf83bb8f3ad5e12b2543f15962e27939ff7f
ASoC: wm8962: Replace codec->control_data with wm8962->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 wm8962 driver for this by using
wm8962->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/wm8962.c