summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-12-20 13:12:51 +0300
committerTakashi Iwai <tiwai@suse.de>2008-12-20 13:12:51 +0300
commit72077aa336d0f4c5e3c7014d7471c79bc69873bb (patch)
treed9a243b9e806c5a334a2adb9b75585954bf851fa /sound
parent50232d62cace101e03f8f40ca151b978c0db5a0d (diff)
downloadlinux-72077aa336d0f4c5e3c7014d7471c79bc69873bb.tar.xz
ALSA: ca0106 - Add missing card->private_data initialization
Added the missing card->private_data initialization that caused obvious problems at PM. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/ca0106/ca0106_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/ca0106/ca0106_main.c b/sound/pci/ca0106/ca0106_main.c
index e01ecd3db324..7ead6c8a85f1 100644
--- a/sound/pci/ca0106/ca0106_main.c
+++ b/sound/pci/ca0106/ca0106_main.c
@@ -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);