ASoC: Integrate bias management with DAPM power management
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 17 May 2009 20:41:23 +0000 (21:41 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 18 May 2009 14:53:16 +0000 (15:53 +0100)
commit452c5eaa0d5162e02ffee742ea17540887bc2904
tree7dbac625d69e3ff01445d7f1b1fa321aa35fcae5
parentaef908434cd24dd5529065bf5d781773fad21125
ASoC: Integrate bias management with DAPM power management

Rather than managing the bias level of the system based on if there is
an active audio stream manage it based on there being an active DAPM
widget. This simplifies the code a little, moving the power handling
into one place, and improves audio performance for bypass paths when no
playbacks or captures are active.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc-dapm.h
include/sound/soc.h
sound/soc/soc-core.c
sound/soc/soc-dapm.c