ASoC: Move headset jack registration to device initialization for SDP3430
authorLopez Cruz, Misael <x0052729@ti.com>
Fri, 13 Mar 2009 02:45:27 +0000 (21:45 -0500)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 13 Mar 2009 12:08:53 +0000 (12:08 +0000)
Move headset jack registration to the codec/machine specific
initialization. Having the jack registration in machine init
causes that the jack device gets initialized but not registered
since the sound card is registered before the jack. Moving jack
registration to device initialization will register the jack
device along with all other devices associated to the card when
the card is registed. As a consequence of jack device registered
properly, the jack is detected as an input device.

Signed-off-by: Misael Lopez Cruz <x0052729@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found