]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2f571ecf071f6f2a3010d896d5a8b5d7d65e8dfb
tree0a7fd9a8b14efde0a57799a7479f7d9b0aa8208a
parentfa111f72cd410627fe08229105accbab5ff9ff90
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