From: Peter Ujfalusi Date: Mon, 18 May 2009 13:02:04 +0000 (+0300) Subject: ASoC: TWL4030: Change DAPM routings and controls for DACs and PGAs X-Git-Tag: v2.6.31-rc1~363^2~29^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4005d39a5f5549f1f6afe88abceed78b2ab225b6;p=pandora-kernel.git ASoC: TWL4030: Change DAPM routings and controls for DACs and PGAs Restructuring the twl4030 codec's DAPM routing to be able to handle the power sequences correctly. The twl4030 codec internal implementation have this order: DAC -> Analog PGA -> Mixer/Mux While the ASoC framework expects the following order: DAC -> Mixer -> Analog PGA This patch moves the Analog PGA handling from SND_SOC_DAPM_PGA to _MIXER and adds two levels of mixer to handle the digital and analog loopback functionality. Now the analog loopback does not powers on any of the DACs. Signed-off-by: Peter Ujfalusi Tested-by: Anuj Aggarwal Tested-by: Jarkko Nikula Tested-by: Misael Lopez Cruz Signed-off-by: Mark Brown --- Reading git-diff-tree failed