aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGuido Kiener <[email protected]>2018-09-12 10:51:05 +0200
committerGreg Kroah-Hartman <[email protected]>2018-09-20 13:04:02 +0200
commit0e59088e7ff7aeda49dedadbf0e967761b909ad8 (patch)
treed7a03c0f82919fb1b544586da83cb274c2759edc /tools/perf/scripts/python
parentcbe743f1333b23040d1312afd58224dbd58fcc25 (diff)
usb: usbtmc: Fix ioctl USBTMC_IOCTL_ABORT_BULK_OUT
Add parameter 'tag' to function usbtmc_ioctl_abort_bulk_out_tag() for future versions. Use USBTMC_BUFSIZE (4k) instead of USBTMC_SIZE_IOBUFFER (2k). Using USBTMC_SIZE_IOBUFFER is deprecated. Insert a sleep of 50 ms between subsequent CHECK_ABORT_BULK_OUT_STATUS control requests to avoid stressing the instrument with repeated requests. Use common macro USB_CTRL_GET_TIMEOUT instead of USBTMC_TIMEOUT. Signed-off-by: Guido Kiener <[email protected]> Reviewed-by: Steve Bayless <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions