From 005b94b2d0208080b63ccd708fd354cf5717b84c Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Fri, 22 Jun 2007 07:11:50 +0000 Subject: linux-ezx: remove old kernel, update 2.6.21 and add script to generate SRC_URI from the quilt series in svn --- .../patches/mux-fix-init-errorpath.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 packages/linux/linux-ezx-2.6.21/patches/mux-fix-init-errorpath.patch (limited to 'packages/linux/linux-ezx-2.6.21/patches/mux-fix-init-errorpath.patch') diff --git a/packages/linux/linux-ezx-2.6.21/patches/mux-fix-init-errorpath.patch b/packages/linux/linux-ezx-2.6.21/patches/mux-fix-init-errorpath.patch new file mode 100755 index 0000000000..716ef86fd1 --- /dev/null +++ b/packages/linux/linux-ezx-2.6.21/patches/mux-fix-init-errorpath.patch @@ -0,0 +1,20 @@ +Index: linux-2.6.16/drivers/char/ts0710_mux_usb.c +=================================================================== +--- linux-2.6.16.orig/drivers/char/ts0710_mux_usb.c 2007-01-17 00:10:32.000000000 +0100 ++++ linux-2.6.16/drivers/char/ts0710_mux_usb.c 2007-01-17 00:42:23.000000000 +0100 +@@ -811,7 +811,6 @@ + /*init the related mux interface*/ + if (!(bvd_ipc = kzalloc(sizeof(struct ipc_usb_data), GFP_KERNEL))) { + err("usb_ipc_init: Out of memory."); +- usb_deregister(&usb_ipc_driver); + return -ENOMEM; + } + bvd_dbg("usb_ipc_init: Address of bvd_ipc:%p", bvd_ipc); +@@ -819,7 +818,6 @@ + if (!(bvd_ipc->xmit.buf = kmalloc(IPC_USB_XMIT_SIZE, GFP_KERNEL))) { + err("usb_ipc_init: Not enough memory for the input buffer."); + kfree(bvd_ipc); +- usb_deregister(&usb_ipc_driver); + return -ENOMEM; + } + bvd_dbg("usb_ipc_init: bvd_ipc->xmit.buf address:%p", -- cgit v1.2.3