mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
USB: usbtmc: fix timeout increase
The current 10ms timeout is too short for some normal USBTMC device operation, increase it to a value which was tested with previously affected Tektronix oscilloscopes. Signed-off-by: Gergely Imreh <imrehg@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
0ee3a33a04
commit
35f76e897d
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@
|
||||||
#define USBTMC_SIZE_IOBUFFER 2048
|
#define USBTMC_SIZE_IOBUFFER 2048
|
||||||
|
|
||||||
/* Default USB timeout (in milliseconds) */
|
/* Default USB timeout (in milliseconds) */
|
||||||
#define USBTMC_TIMEOUT 10
|
#define USBTMC_TIMEOUT 5000
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Maximum number of read cycles to empty bulk in endpoint during CLEAR and
|
* Maximum number of read cycles to empty bulk in endpoint during CLEAR and
|
||||||
|
|
Loading…
Reference in a new issue