]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: dapm: Fix marking widgets dirty when a route is added
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 27 Aug 2013 13:50:54 +0000 (15:50 +0200)
committerMark Brown <broonie@linaro.org>
Tue, 27 Aug 2013 14:32:49 +0000 (15:32 +0100)
commit6cdb756339f78f2fff9db0d6865150bec7357820
treea1772d8a211c9cdee81f600ac836849f06bf1b98
parent4840ce6457d802c032eae12a49337b39dd37d677
ASoC: dapm: Fix marking widgets dirty when a route is added

The current calls to dapm_mark_dirty() in snd_soc_dapm_add_path() are on a path
that is only reached if the sink widget is either a mixer or a mux. Move the
calls further up so they are called for all widget types.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-dapm.c