]> git.karo-electronics.de Git - linux-beck.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)
commitb7c1b73097b48a7922d1320d5a8c8315ff4fae71
treeaee9c1f8e19c6a12431f793e73c69cb80c9e59a8
parent5cca5a916f7ade910e2996e3b44ddffee8e08caf
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