]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: cdc-acm: fix pipe type of write endpoint
authorMing Lei <ming.lei@canonical.com>
Tue, 16 Oct 2012 13:21:21 +0000 (21:21 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 28 Oct 2012 17:56:11 +0000 (10:56 -0700)
commit081232d71a9618f2d1e87a23f8600675323d6103
tree589f3e6be09717ec2ec211e5b7a19f8e22883f0d
parent43a9e5c3f04f3ee1c5b0bf2c81d8e2fdf9a83668
USB: cdc-acm: fix pipe type of write endpoint

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 <ming.lei@canonical.com>
Cc: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-acm.c