linux-uconsole/drivers/usb/class
Andre Herms f4c0cf18d2 USB: usbtmc: repeat usb_bulk_msg until whole message is transfered
commit ec412b92db upstream.

usb_bulk_msg() transfers only bytes up to the maximum packet size.
It must be repeated by the usbtmc driver until all bytes of a TMC message
are transfered.

Without this patch, ETIMEDOUT is reported when writing TMC messages
larger than the maximum USB bulk size and the transfer remains incomplete.
The user will notice that the device hangs and must be reset by either closing
the application or pulling the plug.

Signed-off-by: Andre Herms <andre.herms@tec-venture.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-12-18 14:03:59 -08:00
..
cdc-acm.c USB: cdc_acm: Fix memory leak after hangup 2009-11-17 16:46:33 -08:00
cdc-acm.h USB: fix oops on disconnect in cdc-acm 2009-08-07 16:05:14 -07:00
cdc-wdm.c USB: CDC WDM driver doesn't support non-blocking reads 2009-09-23 06:46:16 -07:00
Kconfig USB: add USB test and measurement class driver 2008-10-17 14:40:51 -07:00
Makefile USB: add USB test and measurement class driver 2008-10-17 14:40:51 -07:00
usblp.c Driver-Core: extend devnode callbacks to provide permissions 2009-09-19 12:50:38 -07:00
usbtmc.c USB: usbtmc: repeat usb_bulk_msg until whole message is transfered 2009-12-18 14:03:59 -08:00