diff options
author | Guido Kiener <[email protected]> | 2018-07-18 10:45:36 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-07-21 08:22:15 +0200 |
commit | 048c6d88a0214757926f264823829e79154fcd4f (patch) | |
tree | f2ed756ff671eb19c82bcbe731e3d6ca6885de50 /tools/perf/util/trace-event-scripting.c | |
parent | 19e6c57e96169cb3275fd40b7898454560b9ebba (diff) |
usb: usbtmc: Add ioctls to set/get usb timeout
Add ioctls USBTMC_IOCTL_GET_TIMEOUT / USBTMC_IOCTL_SET_TIMEOUT to
get/set I/O timeout for specific file handle.
Different operations on an instrument can take different lengths of
time thus it is important to be able to set the timeout slightly
longer than the expected duration of each operation to optimise the
responsiveness of the application. As the instrument may be shared by
multiple applications the timeout should be settable on a per file
descriptor basis.
Tested-by: Dave Penkler <[email protected]>
Reviewed-by: Steve Bayless <[email protected]>
Signed-off-by: Dave Penkler <[email protected]>
Signed-off-by: Guido Kiener <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions