]> git.baikalelectronics.ru Git - kernel.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)
commitf0917371641aa142766d32b0e9e3431d8e680d0d
treec8b7e0497d7827f24f0777268b8576587c98b781
parent75f12480198405b0bdc59f318ab583d6365b8018
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