ASoC: dapm: Only mark pin widgets as dirty if we actually change state
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 16 Feb 2012 19:50:07 +0000 (11:50 -0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 17 Feb 2012 16:10:33 +0000 (08:10 -0800)
commit1a8b2d9d5b6a9909ef0633990fb40c765a791692
tree5eaceea869173f3338e10d92e5c247ce89cb11aa
parent5567d8c621f47d83bf73ff1d35409139a4712859
ASoC: dapm: Only mark pin widgets as dirty if we actually change state

Small optimisation for noop state updates.

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