This is a note to let you know that I've just added the patch titled

    USB: cdc-acm: fix pipe type of write endpoint

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-cdc-acm-fix-pipe-type-of-write-endpoint.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 <[email protected]> know about it.


>From c5211187f7ff8e8dbff4ebf7c011ac4c0ffe319c Mon Sep 17 00:00:00 2001
From: Ming Lei <[email protected]>
Date: Tue, 16 Oct 2012 21:21:21 +0800
Subject: USB: cdc-acm: fix pipe type of write endpoint

From: Ming Lei <[email protected]>

commit c5211187f7ff8e8dbff4ebf7c011ac4c0ffe319c upstream.

If the write endpoint is interrupt type, usb_sndintpipe() should
be passed to usb_fill_int_urb() instead of usb_sndbulkpipe().

Signed-off-by: Ming Lei <[email protected]>
Cc: Oliver Neukum <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/usb/class/cdc-acm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/usb/class/cdc-acm.c
+++ b/drivers/usb/class/cdc-acm.c
@@ -1234,7 +1234,7 @@ made_compressed_probe:
 
                if (usb_endpoint_xfer_int(epwrite))
                        usb_fill_int_urb(snd->urb, usb_dev,
-                               usb_sndbulkpipe(usb_dev, 
epwrite->bEndpointAddress),
+                               usb_sndintpipe(usb_dev, 
epwrite->bEndpointAddress),
                                NULL, acm->writesize, acm_write_bulk, snd, 
epwrite->bInterval);
                else
                        usb_fill_bulk_urb(snd->urb, usb_dev,


Patches currently in stable-queue which might be from [email protected] are

queue-3.4/usb-cdc-acm-fix-pipe-type-of-write-endpoint.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to