Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270517
b: refs/heads/master
c: 82cd876
h: refs/heads/master
i:
  270515: ed52c97
v: v3
  • Loading branch information
Lars-Peter Clausen authored and Mark Brown committed Aug 15, 2011
1 parent 60a5978 commit 2bfa5ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d09f3ecf1a7ba658934fa3c45f67ed2620a50950
refs/heads/master: 82cd87643be7f133ad9a85865f67a0dcadcb76c7
6 changes: 5 additions & 1 deletion trunk/sound/soc/soc-dapm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 2bfa5ee

Please sign in to comment.