Skip to content

Commit

Permalink
ALSA: ca0106 - Add missing card->private_data initialization
Browse files Browse the repository at this point in the history
Added the missing card->private_data initialization that caused obvious
problems at PM.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Dec 20, 2008
1 parent 50232d6 commit 72077aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/pci/ca0106/ca0106_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 72077aa

Please sign in to comment.