summaryrefslogtreecommitdiff
path: root/packages/linux/linux-ezx-2.6.21/mux-linux-2.6.21-fix.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-05-01 21:14:47 +0000
committerKoen Kooi <koen@openembedded.org>2007-05-01 21:14:47 +0000
commit23a69763708f6c95528a47ac5a4ba36c43d5e106 (patch)
tree01eb3d1b193f2d4e334403e8bdad8b69a134333e /packages/linux/linux-ezx-2.6.21/mux-linux-2.6.21-fix.patch
parentecf440c620921904d155cd66d4ac1dd630e10e99 (diff)
linux-ezx 2.6.21: update patches to r1995, gives you working ts, keys and some powermanagement
Diffstat (limited to 'packages/linux/linux-ezx-2.6.21/mux-linux-2.6.21-fix.patch')
-rw-r--r--packages/linux/linux-ezx-2.6.21/mux-linux-2.6.21-fix.patch11
1 files changed, 10 insertions, 1 deletions
diff --git a/packages/linux/linux-ezx-2.6.21/mux-linux-2.6.21-fix.patch b/packages/linux/linux-ezx-2.6.21/mux-linux-2.6.21-fix.patch
index 79f48ae581..8d5299e3bd 100644
--- a/packages/linux/linux-ezx-2.6.21/mux-linux-2.6.21-fix.patch
+++ b/packages/linux/linux-ezx-2.6.21/mux-linux-2.6.21-fix.patch
@@ -202,7 +202,7 @@ Index: linux-2.6.21/drivers/char/ts0710_mux.c
Index: linux-2.6.21/drivers/char/ts0710_mux_usb.c
===================================================================
--- linux-2.6.21.orig/drivers/char/ts0710_mux_usb.c 2007-04-27 20:35:44.000000000 -0300
-+++ linux-2.6.21/drivers/char/ts0710_mux_usb.c 2007-04-27 22:28:55.000000000 -0300
++++ linux-2.6.21/drivers/char/ts0710_mux_usb.c 2007-04-27 22:34:31.000000000 -0300
@@ -188,7 +188,8 @@
buf_list_t *inbuf;
int count = urb->actual_length;
@@ -213,6 +213,15 @@ Index: linux-2.6.21/drivers/char/ts0710_mux_usb.c
if (!inbuf) {
printk("append_to_inbuf_list: (%d) out of memory!\n",
sizeof(buf_list_t));
+@@ -196,7 +197,7 @@
+ }
+
+ inbuf->size = count;
+- inbuf->body = kmalloc(sizeof(char)*count, GFP_KERNEL);
++ inbuf->body = kmalloc(sizeof(char)*count, GFP_ATOMIC);
+ if (!inbuf->body) {
+ kfree(inbuf);
+ printk("append_to_inbuf_list: (%d) out of memory!\n",
@@ -222,7 +223,7 @@
inbuf = list_entry(ptr, buf_list_t, list);
src_count = inbuf->size;