From: Johan Hovold Date: Mon, 27 May 2013 12:44:41 +0000 (+0200) Subject: USB: ark3116: fix control-message timeout X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=634371911730a462626071065b64cd6e1fe213e0;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/serial/ark3116.c b/drivers/usb/serial/ark3116.c index 3b16118cbf62..40e7fd94646f 100644 --- a/drivers/usb/serial/ark3116.c +++ b/drivers/usb/serial/ark3116.c @@ -43,7 +43,7 @@ #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) },