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>
diff --git a/sound/pci/ca0106/ca0106_main.c b/sound/pci/ca0106/ca0106_main.c
index e01ecd3..7ead6c8 100644
--- a/sound/pci/ca0106/ca0106_main.c
+++ b/sound/pci/ca0106/ca0106_main.c
@@ -1694,6 +1694,7 @@
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);