Commit 72077aa3 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: ca0106 - Add missing card->private_data initialization

Added the missing card->private_data initialization that caused obvious
problems at PM.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 50232d62
...@@ -1694,6 +1694,7 @@ static int __devinit snd_ca0106_probe(struct pci_dev *pci, ...@@ -1694,6 +1694,7 @@ static int __devinit snd_ca0106_probe(struct pci_dev *pci,
err = snd_ca0106_create(dev, card, pci, &chip); err = snd_ca0106_create(dev, card, pci, &chip);
if (err < 0) if (err < 0)
goto error; goto error;
card->private_data = chip;
for (i = 0; i < 4; i++) { for (i = 0; i < 4; i++) {
err = snd_ca0106_pcm(chip, i); err = snd_ca0106_pcm(chip, i);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment