|
@@ -443,6 +443,11 @@ static int dapm_new_mixer(struct snd_soc_dapm_widget *w)
|
|
|
if (path->name != (char *)w->kcontrol_news[i].name)
|
|
|
continue;
|
|
|
|
|
|
+ if (w->kcontrols[i]) {
|
|
|
+ path->kcontrol = w->kcontrols[i];
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+
|
|
|
wlistsize = sizeof(struct snd_soc_dapm_widget_list) +
|
|
|
sizeof(struct snd_soc_dapm_widget *),
|
|
|
wlist = kzalloc(wlistsize, GFP_KERNEL);
|
|
@@ -1556,7 +1561,6 @@ static int dapm_mixer_update_power(struct snd_soc_dapm_widget *widget,
|
|
|
/* found, now check type */
|
|
|
found = 1;
|
|
|
path->connect = connect;
|
|
|
- break;
|
|
|
}
|
|
|
|
|
|
if (found)
|