]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: wm8804: Merge CODEC probe and bus probe
authorCharles Keepax <ckeepax@gmail.com>
Sun, 22 Feb 2015 16:43:22 +0000 (16:43 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 5 Mar 2015 01:05:54 +0000 (01:05 +0000)
commit6f2c9348095ae1a489abafe2ab3db7deca406e49
treed530b26416c2d43387f24a09a403ba3834a93467
parentbbed297d373471c8e4c3183bf67472a768576664
ASoC: wm8804: Merge CODEC probe and bus probe

All of the things in the CODEC probe, such as getting the regulators and
verifying the chip ID, are better done in bus probe. It is better to
fail during bus probe if this is the wrong chip and all resource
allocation should be done in the bus probe anyway. This patch merges
the CODEC probe into bus probe.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8804.c