Commit 35f76e89 authored by Gergely Imreh's avatar Gergely Imreh Committed by Greg Kroah-Hartman

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: default avatarGergely Imreh <imrehg@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 0ee3a33a
...@@ -39,7 +39,7 @@ ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment