projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ac3f5c
)
ASoC: dapm: Mark widgets as dirty when a route is added
author
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Thu, 5 Jul 2012 16:20:06 +0000
(17:20 +0100)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Fri, 6 Jul 2012 18:06:59 +0000
(19:06 +0100)
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>
sound/soc/soc-dapm.c
patch
|
blob
|
history
diff --git
a/sound/soc/soc-dapm.c
b/sound/soc/soc-dapm.c
index 912330b147e072ac4816427f260093a8e2410d46..19fda1339510b612e55827ba8032371edd34b9fd 100644
(file)
--- 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,
path->connect = 0;
return 0;
}
+
+ dapm_mark_dirty(wsource, "Route added");
+ dapm_mark_dirty(wsink, "Route added");
+
return 0;
err: