summaryrefslogtreecommitdiffstats
path: root/sound/pci/rme9652/hdspm.c
diff options
context:
space:
mode:
authorTakashi Iwai2007-02-19 15:27:33 +0100
committerJaroslav Kysela2007-03-06 10:40:29 +0100
commitc187c041c6552339e4d8883a1a00c3c489354eca (patch)
tree694c429561f3844ee6c8bc74031273a94ce3bf1c /sound/pci/rme9652/hdspm.c
parent[ALSA] hda-codec - Define pin configs for MacBooks (diff)
downloadkernel-qcow2-linux-c187c041c6552339e4d8883a1a00c3c489354eca.tar.gz
kernel-qcow2-linux-c187c041c6552339e4d8883a1a00c3c489354eca.tar.xz
kernel-qcow2-linux-c187c041c6552339e4d8883a1a00c3c489354eca.zip
[ALSA] Add missing sysfs device assignment for ALSA PCI drivers
Added the missing sysfs device assignment for ALSA PCI drivers. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/rme9652/hdspm.c')
-rw-r--r--sound/pci/rme9652/hdspm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c
index e0215aca1193..6e95857e4e67 100644
--- a/sound/pci/rme9652/hdspm.c
+++ b/sound/pci/rme9652/hdspm.c
@@ -4468,6 +4468,8 @@ static int __devinit snd_hdspm_probe(struct pci_dev *pci,
hdspm->dev = dev;
hdspm->pci = pci;
+ snd_card_set_dev(card, &pci->dev);
+
if ((err =
snd_hdspm_create(card, hdspm, precise_ptr[dev],
enable_monitor[dev])) < 0) {