Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 101487
Collapse All | Expand All

(-)alsa-driver-1.0.9b/alsa-kernel/i2c/other/ak4114.c (+4 lines)
Lines 106-112 int snd_ak4114_create(snd_card_t *card, Link Here
106
	for (reg = 0; reg < 5; reg++)
106
	for (reg = 0; reg < 5; reg++)
107
		chip->txcsb[reg] = txcsb[reg];
107
		chip->txcsb[reg] = txcsb[reg];
108
108
109
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,13) && defined (PF_SYNCTHREAD)
110
	chip->workqueue = create_workqueue("snd-ak4114", 0);
111
#else
109
	chip->workqueue = create_workqueue("snd-ak4114");
112
	chip->workqueue = create_workqueue("snd-ak4114");
113
#endif
110
	if (chip->workqueue == NULL) {
114
	if (chip->workqueue == NULL) {
111
		kfree(chip);
115
		kfree(chip);
112
		return -ENOMEM;
116
		return -ENOMEM;
(-)alsa-driver-1.0.9b/alsa-kernel/pci/hda/hda_codec.c (+4 lines)
Lines 293-299 static int init_unsol_queue(struct hda_b Link Here
293
		snd_printk(KERN_ERR "hda_codec: can't allocate unsolicited queue\n");
293
		snd_printk(KERN_ERR "hda_codec: can't allocate unsolicited queue\n");
294
		return -ENOMEM;
294
		return -ENOMEM;
295
	}
295
	}
296
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,13) && defined (PF_SYNCTHREAD)
297
	unsol->workq = create_workqueue("hda_codec", 0);
298
#else
296
	unsol->workq = create_workqueue("hda_codec");
299
	unsol->workq = create_workqueue("hda_codec");
300
#endif
297
	if (! unsol->workq) {
301
	if (! unsol->workq) {
298
		snd_printk(KERN_ERR "hda_codec: can't create workqueue\n");
302
		snd_printk(KERN_ERR "hda_codec: can't create workqueue\n");
299
		kfree(unsol);
303
		kfree(unsol);

Return to bug 101487