Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 151819 Details for
Bug 218612
app-misc/lirc-0.8.3_pre1 Oops with gentoo-sources-2.6.25-r1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for lirc-i2c to fix oops with kernel 2.6.25
lirc-i2c-2.6.25.patch (text/plain), 681 bytes, created by
enkil
on 2008-05-04 15:09:48 UTC
(
hide
)
Description:
Patch for lirc-i2c to fix oops with kernel 2.6.25
Filename:
MIME Type:
Creator:
enkil
Created:
2008-05-04 15:09:48 UTC
Size:
681 bytes
patch
obsolete
>diff -puNr lirc-0.8.3pre3.orig/drivers/lirc_i2c/lirc_i2c.c lirc-0.8.3pre3/drivers/lirc_i2c/lirc_i2c.c >--- lirc-0.8.3pre3.orig/drivers/lirc_i2c/lirc_i2c.c 2008-01-13 12:13:49.000000000 +0100 >+++ lirc-0.8.3pre3/drivers/lirc_i2c/lirc_i2c.c 2008-05-04 12:31:56.000000000 +0200 >@@ -329,12 +329,17 @@ static int add_to_buf_knc1(void *data, s > static int set_use_inc(void *data) > { > struct IR *ir = data; >+ >+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 25) > int ret; > > /* lock bttv in memory while /dev/lirc is in use */ > ret = i2c_use_client(&ir->c); > if (ret != 0) > return ret; >+#else >+ i2c_use_client(&ir->c); >+#endif > > MOD_INC_USE_COUNT; > return 0;
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 218612
:
151819
|
151831
|
151833