]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: dapm: Ensure bypass paths are suspended and resumed
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 1 Sep 2012 00:38:32 +0000 (17:38 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 6 Sep 2012 00:22:19 +0000 (08:22 +0800)
commit2e499cfe7c95f9263c1ce42aea185d6f7d846576
treebff37a778887f74c180649f9b86466314306dbf7
parent9a853d426dd2dbe566d0af78a50d9ceff6a946aa
ASoC: dapm: Ensure bypass paths are suspended and resumed

Since bypass paths aren't part of DAPM streams and we may not have any
DAPM streams there may not be anything that triggers a DAPM sync for
them. Mark all input and output widgets as dirty and then sync to do so
at the end of suspend and resume.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
include/sound/soc-dapm.h
sound/soc/soc-core.c
sound/soc/soc-dapm.c