diff options
| author | Johan Hovold <[email protected]> | 2021-10-25 13:45:32 +0200 | 
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-10-26 19:10:19 +0200 | 
| commit | a56d3e40bda460edf3f8d6aac00ec0b322b4ab83 (patch) | |
| tree | ac67da4f925955027e852fbc8bfc2e9002e373fc /tools/testing/selftests/bpf/prog_tests/access_variable_array.c | |
| parent | 78cdfd62bd54af615fba9e3ca1ba35de39d3871d (diff) | |
comedi: vmk80xx: fix bulk and interrupt message timeouts
USB bulk and interrupt message timeouts are specified in milliseconds
and should specifically not vary with CONFIG_HZ.
Note that the bulk-out transfer timeout was set to the endpoint
bInterval value, which should be ignored for bulk endpoints and is
typically set to zero. This meant that a failing bulk-out transfer
would never time out.
Assume that the 10 second timeout used for all other transfers is more
than enough also for the bulk-out endpoint.
Fixes: 985cafccbf9b ("Staging: Comedi: vmk80xx: Add k8061 support")
Fixes: 951348b37738 ("staging: comedi: vmk80xx: wait for URBs to complete")
Cc: [email protected]      # 2.6.31
Signed-off-by: Johan Hovold <[email protected]>
Reviewed-by: Ian Abbott <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/access_variable_array.c')
0 files changed, 0 insertions, 0 deletions