ASoC: wm8903: init GPIOs during I2C probe not codec probe
authorStephen Warren <swarren@nvidia.com>
Tue, 22 May 2012 22:08:52 +0000 (16:08 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 3 Jun 2012 12:06:36 +0000 (13:06 +0100)
commit0bf79ef2c303cc70d036c9fb355aeb468e8efb62
tree6a5d421f3d4fe9333f46651d8403a26e1d7134f3
parentf8f5701bdaf9134b1f90e5044a82c66324d2073f
ASoC: wm8903: init GPIOs during I2C probe not codec probe

This allows the GPIOs to be available as soon as the I2C device has
probed, which in turn enables machine drivers to request the GPIOs in
their probe(), rather than deferring this to their ASoC machine init
function, i.e. after the whole sound card has been constructed, and
hence the WM8903 codec is available.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8903.c
This page took 0.027112 seconds and 5 git commands to generate.