From: Mark Brown Date: Wed, 22 Feb 2012 15:52:56 +0000 (+0000) Subject: ASoC: dapm: Check for bias level when powering down X-Git-Tag: v3.3-rc6~8^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7679e42ec833ed70aa34790a5f39dcb7e5bda4fe;p=pandora-kernel.git 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 Cc: stable@kernel.org --- Reading git-diff-tree failed