summaryrefslogtreecommitdiffstats
path: root/sound/pci/riptide
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-02-19 15:27:33 +0100
committerJaroslav Kysela <perex@suse.cz>2007-03-06 10:40:29 +0100
commitc187c041c6552339e4d8883a1a00c3c489354eca (patch)
tree694c429561f3844ee6c8bc74031273a94ce3bf1c /sound/pci/riptide
parent[ALSA] hda-codec - Define pin configs for MacBooks (diff)
downloadlinux-c187c041c6552339e4d8883a1a00c3c489354eca.tar.xz
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/riptide')
-rw-r--r--sound/pci/riptide/riptide.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/riptide/riptide.c b/sound/pci/riptide/riptide.c
index 5e1d5d2b2850..952625dead58 100644
--- a/sound/pci/riptide/riptide.c
+++ b/sound/pci/riptide/riptide.c
@@ -1919,6 +1919,8 @@ snd_riptide_create(struct snd_card *card, struct pci_dev *pci,
return err;
}
+ snd_card_set_dev(card, &pci->dev);
+
*rchip = chip;
return 0;
}