• Mark Brown's avatar
    ASoC: dapm: Check for bias level when powering down · 7679e42e
    Mark Brown authored
    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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    Cc: stable@kernel.org
    7679e42e
soc-dapm.c 75.9 KB