]> git.baikalelectronics.ru Git - kernel.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)
commitb9bf4cf8f58e32f0c676ccdd4c65703cf353251f
tree182821b81720143927e6f94a861fe66c91bfd0a8
parent4f293bbc458554c7a9d6af5cf6ec2a8a91d79eb2
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