aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-05 12:20:06 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-06 14:06:59 -0400
commitfabd03842b77b1eb6c9b08c79be86fa38afbe310 (patch)
tree1b3ff59d1d7f869c315fb191e90030362781bf83 /sound
parent3ac3f5ca91afc03587b1d2d642f126efc5be37ca (diff)
ASoC: dapm: Mark widgets as dirty when a route is added
If we add a new route at runtime then we'll need to recheck the connections to the affected widgets. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/soc-dapm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 912330b147e0..19fda1339510 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -2251,6 +2251,10 @@ static int snd_soc_dapm_add_route(struct snd_soc_dapm_context *dapm,
2251 path->connect = 0; 2251 path->connect = 0;
2252 return 0; 2252 return 0;
2253 } 2253 }
2254
2255 dapm_mark_dirty(wsource, "Route added");
2256 dapm_mark_dirty(wsink, "Route added");
2257
2254 return 0; 2258 return 0;
2255 2259
2256err: 2260err: