]> 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)
commitc700553cfa2f3a4cb4b73620dfe536f5522cd2e3
treec8b7e0497d7827f24f0777268b8576587c98b781
parent2f4d77eee7407c49f0aa7abbd81b383d69b7b649
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