ASoC: RX-51: Add basic jack detection
authorJarkko Nikula <jhnikula@gmail.com>
Mon, 21 Jun 2010 11:15:00 +0000 (14:15 +0300)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Wed, 23 Jun 2010 10:29:14 +0000 (11:29 +0100)
commit8c523115ae170840896ce6593a404ef0ffd3c7da
tree87807f4bbbb7a34030f0d90a1986e5a4dfd86da0
parent4eb5470326ca09c0eeae4502f52375d657a585c2
ASoC: RX-51: Add basic jack detection

This patch adds GPIO jack detection to Nokia N900/RX-51. At the moment only
SND_JACK_VIDEOOUT type is reported. More types could be reported after
getting more audio features supported and necessary drivers integrated for
implementing automated accessory detection.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/omap/rx51.c