ASoC: omap: rx51: Add stereo output support to audio jack
authorJarkko Nikula <jhnikula@gmail.com>
Thu, 27 Jan 2011 14:47:11 +0000 (16:47 +0200)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Thu, 27 Jan 2011 20:48:46 +0000 (20:48 +0000)
commit48529b3b7ca76e688146e13d1a1666fe69703f0c
tree226c9a718a4bd47b309eaeae4f3aaece8359036a
parent64ed98365062b748770b340fd27ae34564a5a322
ASoC: omap: rx51: Add stereo output support to audio jack

Audio jack in Nokia RX-51/N900 is driven by TPA6130 headphone amplifier.
This patch adds support for it and stereo output can be active when
"Jack Function" == "TV-OUT" || "Headphone".

As the TPA6130 can output very high volume levels the output is limited
with snd_soc_limit_volume. Limiting value is found from Maemo kernel sources.

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