summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorAndre Herms <andre.herms@tec-venture.de>2009-11-19 18:14:49 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-18 14:03:59 -0800
commitf4c0cf18d2b21dd614662c3b95ce0ffd0a4aa881 (patch)
tree56998e12688858cbf990fe23811a18dc9e94a55b /Documentation
parentfdc28ded337a4eab23e4326924686f127d7a9cf8 (diff)
USB: usbtmc: repeat usb_bulk_msg until whole message is transfered
commit ec412b92dbe3ea839716853eea058d1bcc5e6ca4 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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions