瀏覽代碼

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>
Gergely Imreh 15 年之前
父節點
當前提交
35f76e897d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/usb/class/usbtmc.c

+ 1 - 1
drivers/usb/class/usbtmc.c

@@ -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