projects
/
unionfs-2.6.25.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9df2454
)
USB: ark3116: fix control-message timeout
author
Johan Hovold
<jhovold@gmail.com>
Mon, 27 May 2013 12:44:41 +0000
(14:44 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 13 Jun 2013 16:44:54 +0000
(09:44 -0700)
commit
634371911730a462626071065b64cd6e1fe213e0
upstream.
The control-message timeout is specified in milliseconds and should not
depend on HZ.
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/ark3116.c
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/ark3116.c
b/drivers/usb/serial/ark3116.c
index f99f47100dd8f7e7031a6d350b84dbb79a79ed58..31bfe604a384970eef704dba38bbde3d9d4a9e66 100644
(file)
--- a/
drivers/usb/serial/ark3116.c
+++ b/
drivers/usb/serial/ark3116.c
@@
-49,7
+49,7
@@
static bool debug;
#define DRIVER_NAME "ark3116"
/* usb timeout of 1 second */
-#define ARK_TIMEOUT
(1*HZ)
+#define ARK_TIMEOUT
1000
static const struct usb_device_id id_table[] = {
{ USB_DEVICE(0x6547, 0x0232) },