]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ALSA: ca0106 - Add missing card->private_data initialization
authorTakashi Iwai <tiwai@suse.de>
Sat, 20 Dec 2008 10:12:51 +0000 (11:12 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 20 Dec 2008 10:12:51 +0000 (11:12 +0100)
Added the missing card->private_data initialization that caused obvious
problems at PM.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ca0106/ca0106_main.c

index e01ecd3db324d1331810b1e73831d64d1f7e92c1..7ead6c8a85f1ea16d7b586e5fa6cb7817359d418 100644 (file)
@@ -1694,6 +1694,7 @@ static int __devinit snd_ca0106_probe(struct pci_dev *pci,
        err = snd_ca0106_create(dev, card, pci, &chip);
        if (err < 0)
                goto error;
+       card->private_data = chip;
 
        for (i = 0; i < 4; i++) {
                err = snd_ca0106_pcm(chip, i);