]> 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)
commite6d2b0f24f0c0183d37f964e5d4f8d6f091bd0f1
tree8e9eaa20b7cf3a57cddd55972f338123a0658aa0
parent6cd81b7e84a015e63e6a717c18bf1290b2e8121c
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