diff options
| author | Guido Kiener <guido@kiener-muenchen.de> | 2018-09-12 10:51:05 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-20 13:04:02 +0200 |
| commit | 0e59088e7ff7aeda49dedadbf0e967761b909ad8 (patch) | |
| tree | d7a03c0f82919fb1b544586da83cb274c2759edc /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | usb: usbtmc: Fix ioctl USBTMC_IOCTL_ABORT_BULK_IN (diff) | |
| download | linux-0e59088e7ff7aeda49dedadbf0e967761b909ad8.tar.gz linux-0e59088e7ff7aeda49dedadbf0e967761b909ad8.zip | |
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 <guido.kiener@rohde-schwarz.com>
Reviewed-by: Steve Bayless <steve_bayless@keysight.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
