]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: dapm: Check for bias level when powering down
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 22 Feb 2012 15:52:56 +0000 (15:52 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 23 Feb 2012 15:13:02 +0000 (15:13 +0000)
commit7679e42ec833ed70aa34790a5f39dcb7e5bda4fe
treec8b7e0497d7827f24f0777268b8576587c98b781
parente555cf363167f09efae96d32a363e24c4de16b7b
ASoC: dapm: Check for bias level when powering down

Recent enhancements in the bias management means that we might not be
in standby when the CODEC is idle and can have active widgets without
being in full power mode but the shutdown functionality assumes these
things. Add checks for the bias level at each stage so that we don't
do transitions other than the ON->PREPARE->STANDBY->OFF ones that the
drivers are expecting.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
sound/soc/soc-dapm.c