]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/pci/rme9652/hdspm.c
[ALSA] Add missing sysfs device assignment for ALSA PCI drivers
[linux-2.6-omap-h63xx.git] / sound / pci / rme9652 / hdspm.c
index e0215aca119364eff28261ab238a01e84a840963..6e95857e4e67a4cd10f5843312cae93ed661237b 100644 (file)
@@ -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) {