Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 71813 Details for
Bug 101487
alsa-driver-1.0.9b / ipw2200 / software suspend 2 changes definition of 'create_workqueue'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Completely untested patch
alsa-driver-1.0.9b-suspend2.patch (text/plain), 1.43 KB, created by
Henrik Brix Andersen
on 2005-10-31 12:12:22 UTC
(
hide
)
Description:
Completely untested patch
Filename:
MIME Type:
Creator:
Henrik Brix Andersen
Created:
2005-10-31 12:12:22 UTC
Size:
1.43 KB
patch
obsolete
>diff -urp alsa-driver-1.0.9b/alsa-kernel/i2c/other/ak4114.c alsa-driver-1.0.9b-suspend2/alsa-kernel/i2c/other/ak4114.c >--- alsa-driver-1.0.9b/alsa-kernel/i2c/other/ak4114.c 2005-03-15 17:56:07.000000000 +0100 >+++ alsa-driver-1.0.9b-suspend2/alsa-kernel/i2c/other/ak4114.c 2005-10-31 20:56:37.000000000 +0100 >@@ -106,7 +106,11 @@ int snd_ak4114_create(snd_card_t *card, > for (reg = 0; reg < 5; reg++) > chip->txcsb[reg] = txcsb[reg]; > >+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,13) && defined (PF_SYNCTHREAD) >+ chip->workqueue = create_workqueue("snd-ak4114", 0); >+#else > chip->workqueue = create_workqueue("snd-ak4114"); >+#endif > if (chip->workqueue == NULL) { > kfree(chip); > return -ENOMEM; >diff -urp alsa-driver-1.0.9b/alsa-kernel/pci/hda/hda_codec.c alsa-driver-1.0.9b-suspend2/alsa-kernel/pci/hda/hda_codec.c >--- alsa-driver-1.0.9b/alsa-kernel/pci/hda/hda_codec.c 2005-05-15 15:30:10.000000000 +0200 >+++ alsa-driver-1.0.9b-suspend2/alsa-kernel/pci/hda/hda_codec.c 2005-10-31 20:57:14.000000000 +0100 >@@ -293,7 +293,11 @@ static int init_unsol_queue(struct hda_b > snd_printk(KERN_ERR "hda_codec: can't allocate unsolicited queue\n"); > return -ENOMEM; > } >+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,13) && defined (PF_SYNCTHREAD) >+ unsol->workq = create_workqueue("hda_codec", 0); >+#else > unsol->workq = create_workqueue("hda_codec"); >+#endif > if (! unsol->workq) { > snd_printk(KERN_ERR "hda_codec: can't create workqueue\n"); > kfree(unsol);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 101487
: 71813