ASoC: Tegra: Harmony: Support the internal speaker
authorStephen Warren <swarren@nvidia.com>
Fri, 28 Jan 2011 21:26:37 +0000 (14:26 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 31 Jan 2011 13:15:59 +0000 (13:15 +0000)
commit6e267645046ecc161791b5a0d2eef6e494681416
tree0a7fd9a8b14efde0a57799a7479f7d9b0aa8208a
parent72de2b1a9a5b869c1eaea098dd2a75e6bbbf0488
ASoC: Tegra: Harmony: Support the internal speaker

Add DAPM widget definitions for the internal speaker paths. Currently, this
path is always enabled while playback is active.

Add code to control the speaker amplifier GPIO.

The GPIO is requested during _init, since that's the first time it is
guaranteed that the WM8903 module is loaded, probed, and hence has exported
its GPIO chip.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/tegra/harmony.c