ASoC: Fix handling of DAPM suspend work
authorMark Brown <broonie@sirena.org.uk>
Tue, 14 Oct 2008 12:58:36 +0000 (13:58 +0100)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 14 Feb 2010 22:25:55 +0000 (00:25 +0200)
commit08e9535e1adf9f147063af5b93a46fb173c1d2d1
tree8fc24fbaea11ad494c75fe698e440af9bda2ce1e
parentf80e5911826245ba934f97aba72276c5156057fb
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