]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commit77dd7e17b86bd81b3638e01d784a72652071508b
treed54adf7cb0cb2691cb1bb23c17cce0c5beea71d2
parenteb5f6d753e337834c7ceb07824ee472e43d9a7a2
ASoC: Move headset jack registration to device initialization for SDP3430

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>
sound/soc/omap/sdp3430.c