ASoC: Fix handling of bias levels for non-DAPM codecs
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 17 Aug 2009 10:55:38 +0000 (11:55 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 17 Aug 2009 11:57:59 +0000 (12:57 +0100)
commitb14b76a56e49946488637ee68926c5180c39fdb1
treef050961f0527272bb9daffe6479deb363e579053
parent0c093fb5421a648fae46fce17277bdb358fe017b
ASoC: Fix handling of bias levels for non-DAPM codecs

If the system doesn't have any DAPM widgets then we can't use their
state to check if the bias level for the codec should be up.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-dapm.c