[alsa-devel] [PATCHv3 7/9] WM8971 improves the function of regmap

Lars-Peter Clausen lars at metafoo.de
Thu Sep 11 09:06:27 CEST 2014


On 09/11/2014 05:21 AM, Xavier Hsu wrote:
> Hi Charles and Lars-Peter:
> Thanks for your feedback.
> I will modify our patch as below.
> 1. Using (codec->control_data = wm8971->regmap;) or (wm8971_get_regmap) to
> register regmap.

You should use neither. The ASoC core is able to get the regmap instance by 
calling dev_get_regmap(), no changes are necessary to the driver.

- Lars


More information about the Alsa-devel mailing list