Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348755
b: refs/heads/master
c: 865df9c
h: refs/heads/master
i:
  348753: 9c5aa4a
  348751: d6f498d
v: v3
  • Loading branch information
Chuansheng Liu authored and Mark Brown committed Dec 27, 2012
1 parent 0de98c9 commit 2b29cc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5db1bc1892aa70d378ea7563852ae87f3772519b
refs/heads/master: 865df9cb122d9e5ecbbb7056f2c9c64933bf8dd0
2 changes: 2 additions & 0 deletions trunk/sound/soc/soc-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1255,6 +1255,8 @@ static int soc_post_component_init(struct snd_soc_card *card,
INIT_LIST_HEAD(&rtd->dpcm[SNDRV_PCM_STREAM_CAPTURE].fe_clients);
ret = device_add(rtd->dev);
if (ret < 0) {
/* calling put_device() here to free the rtd->dev */
put_device(rtd->dev);
dev_err(card->dev,
"ASoC: failed to register runtime device: %d\n", ret);
return ret;
Expand Down

0 comments on commit 2b29cc1

Please sign in to comment.