This is a note to let you know that I've just added the patch titled USB: visor: fix initialisation of Treo/Kyocera devices to the 3.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: usb-visor-fix-initialisation-of-treo-kyocera-devices.patch and it can be found in the queue-3.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 420021a395ce38b7ab2cceb52dee4038be7d8fa3 Mon Sep 17 00:00:00 2001 From: Johan Hovold <jhovold@xxxxxxxxx> Date: Mon, 27 May 2013 14:44:38 +0200 Subject: USB: visor: fix initialisation of Treo/Kyocera devices From: Johan Hovold <jhovold@xxxxxxxxx> commit 420021a395ce38b7ab2cceb52dee4038be7d8fa3 upstream. Fix regression introduced by commit 214916f2e ("USB: visor: reimplement using generic framework") which broke initialisation of Treo/Kyocera devices that re-mapped bulk-in endpoints. Signed-off-by: Johan Hovold <jhovold@xxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/usb/serial/visor.c | 8 ++++++++ 1 file changed, 8 insertions(+) --- a/drivers/usb/serial/visor.c +++ b/drivers/usb/serial/visor.c @@ -596,9 +596,17 @@ static int treo_attach(struct usb_serial */ #define COPY_PORT(dest, src) \ do { \ + int i; \ + \ + for (i = 0; i < ARRAY_SIZE(src->read_urbs); ++i) { \ + dest->read_urbs[i] = src->read_urbs[i]; \ + dest->read_urbs[i]->context = dest; \ + dest->bulk_in_buffers[i] = src->bulk_in_buffers[i]; \ + } \ dest->read_urb = src->read_urb; \ dest->bulk_in_endpointAddress = src->bulk_in_endpointAddress;\ dest->bulk_in_buffer = src->bulk_in_buffer; \ + dest->bulk_in_size = src->bulk_in_size; \ dest->interrupt_in_urb = src->interrupt_in_urb; \ dest->interrupt_in_endpointAddress = \ src->interrupt_in_endpointAddress;\ Patches currently in stable-queue which might be from jhovold@xxxxxxxxx are queue-3.4/usb-serial-fix-treo-kyocera-interrrupt-in-urb-context.patch queue-3.4/usb-mos7720-fix-dma-to-stack.patch queue-3.4/usb-iuu_phoenix-fix-bulk-message-timeout.patch queue-3.4/usb-whiteheat-fix-broken-port-configuration.patch queue-3.4/usb-mos7720-fix-hardware-flow-control.patch queue-3.4/usb-keyspan-fix-bogus-array-index.patch queue-3.4/usb-ark3116-fix-control-message-timeout.patch queue-3.4/usb-mos7720-fix-message-timeouts.patch queue-3.4/usb-visor-fix-initialisation-of-treo-kyocera-devices.patch -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html