OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d3909f
)
[ALSA] emu10k1x - Add missing snd_card_set_dev call
author
Takashi Iwai
<tiwai@suse.de>
Mon, 26 Nov 2007 07:45:43 +0000
(08:45 +0100)
committer
Jaroslav Kysela
<perex@perex.cz>
Thu, 31 Jan 2008 16:29:29 +0000
(17:29 +0100)
Added the missing snd_card_set_dev() call. This will fix the incomplete
sysfs entry for this card.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/emu10k1/emu10k1x.c
patch
|
blob
|
history
diff --git
a/sound/pci/emu10k1/emu10k1x.c
b/sound/pci/emu10k1/emu10k1x.c
index
1ec7eba
..
0030d8b
100644
(file)
--- a/
sound/pci/emu10k1/emu10k1x.c
+++ b/
sound/pci/emu10k1/emu10k1x.c
@@
-1583,6
+1583,8
@@
static int __devinit snd_emu10k1x_probe(struct pci_dev *pci,
sprintf(card->longname, "%s at 0x%lx irq %i",
card->shortname, chip->port, chip->irq);
+ snd_card_set_dev(card, &pci->dev);
+
if ((err = snd_card_register(card)) < 0) {
snd_card_free(card);
return err;