projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50232d6
)
ALSA: ca0106 - Add missing card->private_data initialization
author
Takashi Iwai
<tiwai@suse.de>
Sat, 20 Dec 2008 10:12:51 +0000
(11:12 +0100)
committer
Takashi 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
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/ca0106/ca0106_main.c
b/sound/pci/ca0106/ca0106_main.c
index e01ecd3db324d1331810b1e73831d64d1f7e92c1..7ead6c8a85f1ea16d7b586e5fa6cb7817359d418 100644
(file)
--- 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);