Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 263541 Details for
Bug 272100
[Ebuild-request] Request a new ebuild for drivers for DJ Hercules MP3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
media-libs/hdj_mod/files/kernel_2.6.31_fix.patch
kernel_2.6.31_fix.patch (text/plain), 860 bytes, created by
Alex Barker
on 2011-02-22 19:18:54 UTC
(
hide
)
Description:
media-libs/hdj_mod/files/kernel_2.6.31_fix.patch
Filename:
MIME Type:
Creator:
Alex Barker
Created:
2011-02-22 19:18:54 UTC
Size:
860 bytes
patch
obsolete
>--- device.c.orig 2011-02-17 19:42:06.000000000 -0800 >+++ device.c 2011-02-17 21:16:55.442483443 -0800 >@@ -1660,11 +1660,19 @@ > /* let the kernel option override custom id */ > strncpy(card_id,id[idx],sizeof(card_id)-1); > } >+#if ( LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31) ) >+ err = snd_card_create(index[idx], card_id/*id[idx]*/, THIS_MODULE, 0, &card); >+ if (err < 0) { >+ snd_printk(KERN_WARNING "snd_hdj_chip_create(): cannot create card instance %d\n", idx); >+ return err; >+ } >+#else > card = snd_card_new(index[idx], card_id/*id[idx]*/, THIS_MODULE, 0); > if (card == NULL) { > snd_printk(KERN_WARNING "snd_hdj_chip_create(): cannot create card instance %d\n", idx); > return -ENOMEM; > } >+#endif > > /* save the index, so people who have the card can reference the chip */ > card->private_data = (void*)(unsigned long)idx;
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 272100
:
204439
|
204441
|
214204
|
223843
|
226341
|
252571
|
252573
|
253143
|
253145
|
255361
|
263537
|
263539
| 263541 |
263543
|
263545
|
263641
|
263643
|
267463
|
337024
|
337026
|
337028
|
337030
|
337032
|
337034
|
337036
|
337038
|
337040
|
337042