]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Mar 2012 19:31:36 +0000 (12:31 -0700)
commitaee50f92f5b1b34650f76b164537691be95bfa24
tree027eac3a2a6ce43c46fbc1c8d124d9bb846af167
parent85115b995d54857bbaa30a4966ed5c897d903387
ASoC: dapm: Check for bias level when powering down

commit 7679e42ec833ed70aa34790a5f39dcb7e5bda4fe upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/soc-dapm.c