mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-19 00:54:41 +08:00
USB: ark3116: fix control-message timeout
The control-message timeout is specified in milliseconds and should not depend on HZ. Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
15ee89c334
commit
6343719117
@ -43,7 +43,7 @@
|
|||||||
#define DRIVER_NAME "ark3116"
|
#define DRIVER_NAME "ark3116"
|
||||||
|
|
||||||
/* usb timeout of 1 second */
|
/* usb timeout of 1 second */
|
||||||
#define ARK_TIMEOUT (1*HZ)
|
#define ARK_TIMEOUT 1000
|
||||||
|
|
||||||
static const struct usb_device_id id_table[] = {
|
static const struct usb_device_id id_table[] = {
|
||||||
{ USB_DEVICE(0x6547, 0x0232) },
|
{ USB_DEVICE(0x6547, 0x0232) },
|
||||||
|
Loading…
Reference in New Issue
Block a user