Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120581
b: refs/heads/master
c: 2af7529
h: refs/heads/master
i:
  120579: 284c9e9
v: v3
  • Loading branch information
Hannes Eder authored and Takashi Iwai committed Nov 18, 2008
1 parent abb09f8 commit 445519e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: fd64138c0eff8351b93ef99f7da929bb8a49b9ed
refs/heads/master: 2af752936b311a846622668f8b0f1893d8eccade
8 changes: 6 additions & 2 deletions trunk/sound/core/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -637,8 +637,12 @@ int snd_card_register(struct snd_card *card)
#endif
#ifndef CONFIG_SYSFS_DEPRECATED
if (card->card_dev) {
device_create_file(card->card_dev, &card_id_attrs);
device_create_file(card->card_dev, &card_number_attrs);
err = device_create_file(card->card_dev, &card_id_attrs);
if (err < 0)
return err;
err = device_create_file(card->card_dev, &card_number_attrs);
if (err < 0)
return err;
}
#endif
return 0;
Expand Down

0 comments on commit 445519e

Please sign in to comment.