[ALSA] ASoC DAPM switching for reentrant codec paths
authorSeth Forshee <seth.forshee@gmail.com>
Mon, 16 Apr 2007 13:36:42 +0000 (15:36 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 11 May 2007 14:56:00 +0000 (16:56 +0200)
commit1e39221eba72e4af37b40e71749b0c18bb16b9a6
treed304dcd1f69e9311a327edd21b3f22abdd2b2ddc
parent30652c4506c8bbfdf869ddc4c238e07de038f02a
[ALSA] ASoC DAPM switching for reentrant codec paths

This patch fixes an issue whereby power was applied to any inactive
analog path that would leave and reenter a codec (e.g. ACOP -> ACIN on
WM8753).  This change now checks for such paths and DAPM will power them
down when not in use.

Signed-off-by: Seth Forshee <seth.forshee@gmail.com>
Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/soc/soc-dapm.c