]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Move most WM8996 resource acquisition to I2C probe
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 19 Sep 2011 18:51:07 +0000 (19:51 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 8 Nov 2011 14:13:12 +0000 (14:13 +0000)
commit2282b0c37b14a9d8ceb41e1ca07797d413911209
tree8e9eaa20b7cf3a57cddd55972f338123a0658aa0
parent3a0b9b30327e6e42fd24a6f2a818a8d51dbfda20
ASoC: Move most WM8996 resource acquisition to I2C probe

Now that the WM8996 driver is using the regmap API for register I/O we no
longer need the ASoC card to be active in order to interact with the chip.
In order to be more idiomatic for Linux move most of the existing probe()
function out into the I2C probe() function prior to registration with ASoC.

The IRQ and GPIO init will be moved separately as these are slightly more
involved.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8996.c