ASoC: Force all DAPM contexts into the same bias state
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 4 Apr 2011 12:05:11 +0000 (21:05 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 9 Apr 2011 02:24:08 +0000 (11:24 +0900)
commit52ba67bf85889828b3766207fa43ce7159c84c78
treebdc8bbcdebf8d32ad3c6daccf0c2c7c6a40372c1
parentd25b7c1ec7da4636587ad1a22b324bcd7b89b6bc
ASoC: Force all DAPM contexts into the same bias state

Currently we allow all DAPM contexts to determine their own bias level.
While this should in general work in most situations and will deliver the
lowest possible power it causes problems for our integration with the
card bias level as we're calling the card bias level functions for each
DAPM context even though they're card wide but don't say which CODEC
we're calling them for. Mitigate against this by forcing everything to
be in the same state.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
sound/soc/soc-dapm.c