Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270741
b: refs/heads/master
c: 0b07ab9
h: refs/heads/master
i:
  270739: 4768419
v: v3
  • Loading branch information
Mark Brown committed Oct 3, 2011
1 parent a7cd86c commit d166985
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: f3a54a283b58b932cd3d018ca4a1ba96cc43a895
refs/heads/master: 0b07ab9244d34929b6e07d6a275137a229e9c839
6 changes: 3 additions & 3 deletions trunk/sound/soc/soc-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1059,6 +1059,9 @@ static int soc_post_component_init(struct snd_soc_card *card,
temp = codec->name_prefix;
codec->name_prefix = NULL;

/* Make sure all DAPM widgets are instantiated */
snd_soc_dapm_new_widgets(&codec->dapm);

/* do machine specific initialization */
if (!dailess && dai_link->init)
ret = dai_link->init(rtd);
Expand All @@ -1070,9 +1073,6 @@ static int soc_post_component_init(struct snd_soc_card *card,
}
codec->name_prefix = temp;

/* Make sure all DAPM widgets are instantiated */
snd_soc_dapm_new_widgets(&codec->dapm);

/* register the rtd device */
rtd->codec = codec;
rtd->dev.parent = card->dev;
Expand Down

0 comments on commit d166985

Please sign in to comment.