summaryrefslogtreecommitdiff
path: root/drivers/usb/atm
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-07-01 12:23:23 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-25 22:49:30 +0400
commitafb8aae89890e65bd4b828de38bd430d4f31caa8 (patch)
tree07eb09ce5f005e1d7201e1537bacb8e80a0e6a76 /drivers/usb/atm
parentd102e78f7035f2d6896ced598122b878afd1c352 (diff)
downloadlinux-afb8aae89890e65bd4b828de38bd430d4f31caa8.tar.xz
usb: atm: speedtch: be careful with bInterval
bInterval must be on the range 1 - 16, if we want to pass the maximum allowed, we should be passing 16. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/atm')
-rw-r--r--drivers/usb/atm/speedtch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/atm/speedtch.c b/drivers/usb/atm/speedtch.c
index 807627b36cc8..69461d653972 100644
--- a/drivers/usb/atm/speedtch.c
+++ b/drivers/usb/atm/speedtch.c
@@ -888,7 +888,7 @@ static int speedtch_bind(struct usbatm_data *usbatm,
usb_fill_int_urb(instance->int_urb, usb_dev,
usb_rcvintpipe(usb_dev, ENDPOINT_INT),
instance->int_data, sizeof(instance->int_data),
- speedtch_handle_int, instance, 50);
+ speedtch_handle_int, instance, 16);
else
usb_dbg(usbatm, "%s: no memory for interrupt urb!\n", __func__);