ASoC: TWL4030: Introduce PGAs for outputs
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Thu, 13 Aug 2009 12:59:34 +0000 (15:59 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 13 Aug 2009 13:56:13 +0000 (14:56 +0100)
commit9008adf9a9c3a43ef237f6cd416857569beb0029
treeccc443a537a4b82a8dbebfb65e31d744a6b4c49b
parentc4ff357ada4fc7a73d899a496b636c698519b958
ASoC: TWL4030: Introduce PGAs for outputs

Dynamically control and control only the needed output amplifier
muting/un-muting.

The original code was muting and un-muting the following output
amplifiers: Earpiece PreDrivL/R, CarkitL/R at the same time
regardless which pin is actually in use at the given moment.

Move these as separate PGA so only the needed amplifier will be touched.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/twl4030.c