ASoC: dapm: Fix _PRE and _POST events for DAPM performance improvements
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 20 Jul 2012 16:29:34 +0000 (17:29 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 2 Aug 2012 13:37:59 +0000 (14:37 +0100)
commitad15432068b43135d7af36e555c9d48b0d37c3c3
tree290d58d1d810df24e335081be1934378558e55da
parentd9af29329519c623a5a9c8b39439ed2886c9f30b
ASoC: dapm: Fix _PRE and _POST events for DAPM performance improvements

commit 0ff97ebf0804d2e519d578fcb4db03f104d2ca8c upstream.

Ever since the DAPM performance improvements we've been marking all widgets
as not dirty after each DAPM run. Since _PRE and _POST events aren't part
of the DAPM graph this has rendered them non-functional, they will never be
marked dirty again and thus will never be run again.

Fix this by skipping them when marking widgets as not dirty.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
sound/soc/soc-dapm.c