]> git.karo-electronics.de Git - karo-tx-linux.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)
commit34742cb02bd368c1af3349c041d3e4446f7ac6ef
treea1772d8a211c9cdee81f600ac836849f06bf1b98
parent69c2d346e8fa8dbed122e82f727332f35718ab86
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