|
@@ -2374,6 +2374,9 @@ static int snd_soc_dapm_add_path(struct snd_soc_dapm_context *dapm,
|
|
|
wsource->ext = 1;
|
|
|
}
|
|
|
|
|
|
+ dapm_mark_dirty(wsource, "Route added");
|
|
|
+ dapm_mark_dirty(wsink, "Route added");
|
|
|
+
|
|
|
/* connect static paths */
|
|
|
if (control == NULL) {
|
|
|
list_add(&path->list, &dapm->card->paths);
|
|
@@ -2436,9 +2439,6 @@ static int snd_soc_dapm_add_path(struct snd_soc_dapm_context *dapm,
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
- dapm_mark_dirty(wsource, "Route added");
|
|
|
- dapm_mark_dirty(wsink, "Route added");
|
|
|
-
|
|
|
return 0;
|
|
|
err:
|
|
|
kfree(path);
|