Skip to content

Commit

Permalink
USB: usbtmc: fix timeout increase
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
imrehg authored and gregkh committed Oct 9, 2009
1 parent 0ee3a33 commit 35f76e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/class/usbtmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#define USBTMC_SIZE_IOBUFFER 2048

/* 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
Expand Down

0 comments on commit 35f76e8

Please sign in to comment.