ASoC: TWL4030: Move the Headset pop-attenuation code to PGA event
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Mon, 18 May 2009 13:02:05 +0000 (16:02 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 20 May 2009 08:53:25 +0000 (09:53 +0100)
commit6943c92e87c4aa2a6d7a1f4dbd79cf4a0b5fd67b
tree1dabd06ad806d744665c427246541401a43ceebb
parent4005d39a5f5549f1f6afe88abceed78b2ab225b6
ASoC: TWL4030: Move the Headset pop-attenuation code to PGA event

This patch adds SND_SOC_DAPM_PGA_E to the headset path, which handles
the headset ramp up and down sequences needed for the pop noise
removal.

With this patch the order of the internal components in the twl4030
codec is turned on and off in a correct order.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Tested-by: Anuj Aggarwal <anuj.aggarwal@ti.com>
Tested-by: Jarkko Nikula <jhnikula@gmail.com>
Tested-by: Misael Lopez Cruz <x0052729@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/twl4030.c