projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
547ac2a
)
[ALSA] ca0106 - Add missing sysfs device assignment
author
Takashi Iwai
<tiwai@suse.de>
Thu, 8 Feb 2007 13:50:31 +0000
(14:50 +0100)
committer
Jaroslav Kysela
<perex@suse.cz>
Fri, 9 Feb 2007 08:04:03 +0000
(09:04 +0100)
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: Jaroslav Kysela <perex@suse.cz>
sound/pci/ca0106/ca0106_main.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/ca0106/ca0106_main.c
b/sound/pci/ca0106/ca0106_main.c
index 6f781b81187614617b3a19ec6a3561a1873e84c1..ea6712b63c9f7a268eba7b72ef989d58fbda1056 100644
(file)
--- a/
sound/pci/ca0106/ca0106_main.c
+++ b/
sound/pci/ca0106/ca0106_main.c
@@
-1618,6
+1618,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;