ASoC: Fix handling of DAPM suspend work
authorMark Brown <broonie@sirena.org.uk>
Tue, 14 Oct 2008 12:58:36 +0000 (13:58 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 30 Oct 2008 14:34:03 +0000 (14:34 +0000)
commitd45f6219d256b4e02f9ebee2e3911f4ea80bac70
treef738eaaf5dc222743682e5f8f98a1ec6a3c84b40
parent12ef193d5817504621e503e78d641265f6a86ac4
ASoC: Fix handling of DAPM suspend work

Since we can query the playback stream power state directly we do not
need to infer if it is powered up from the timer being scheduled.  Doing
this avoids problems that previously existed with streams being
incorrectly determined to be powered up caused when the timer is
scheduled when streams are closed after being partially set up.

Reported-by: Nobin Mathew <nobin.mathew@gmail.com>
Reported-by: Jukka Hynninen <ext-jukka.hynninen@vaisala.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c