projects
/
wrapfs-4.14.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19373e3
)
[ALSA] ca0106 - Add missing sysfs device assignment
author
Takashi Iwai
<tiwai@suse.de>
Wed, 28 Mar 2007 20:40:35 +0000
(22:40 +0200)
committer
Adrian Bunk
<bunk@stusta.de>
Wed, 28 Mar 2007 20:40:35 +0000
(22:40 +0200)
Added the missing device assignment before creating sysfs tree.
This caused the insufficient device permissions.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
sound/pci/ca0106/ca0106_main.c
patch
|
blob
|
history
diff --git
a/sound/pci/ca0106/ca0106_main.c
b/sound/pci/ca0106/ca0106_main.c
index cf84d4453af8df7a4e8f4b881896e7adff03fc2b..e307c1216e308ef58269d2319fc71d399ba8e80c 100644
(file)
--- a/
sound/pci/ca0106/ca0106_main.c
+++ b/
sound/pci/ca0106/ca0106_main.c
@@
-1544,6
+1544,8
@@
static int __devinit snd_ca0106_probe(struct pci_dev *pci,
snd_ca0106_proc_init(chip);
#endif
+ snd_card_set_dev(card, &pci->dev);
+
if ((err = snd_card_register(card)) < 0) {
snd_card_free(card);
return err;