]> git.openfabrics.org - ~emulex/infiniband.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)
commitee5f387226d13535f41bda0e8a2cf3843fc4c080
tree8e9eaa20b7cf3a57cddd55972f338123a0658aa0
parent79172746827d0579900fa382733f5769d32952eb
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