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)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 23 Jul 2012 09:39:54 +0000 (10:39 +0100)
commit0ff97ebf0804d2e519d578fcb4db03f104d2ca8c
tree865b72a3b646671a6cd7be3f3aafe5a64f5173f7
parent409b78cc17a4a3d07a541037575da648ced99437
ASoC: dapm: Fix _PRE and _POST events for DAPM performance improvements

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>
Cc: stable@vger.kernel.org
sound/soc/soc-dapm.c