summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-07-01 11:23:23 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-25 11:49:30 -0700
commitafb8aae89890e65bd4b828de38bd430d4f31caa8 (patch)
tree07eb09ce5f005e1d7201e1537bacb8e80a0e6a76
parentd102e78f7035f2d6896ced598122b878afd1c352 (diff)
downloadop-kernel-dev-afb8aae89890e65bd4b828de38bd430d4f31caa8.zip
op-kernel-dev-afb8aae89890e65bd4b828de38bd430d4f31caa8.tar.gz
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>
-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 807627b..69461d6 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__);
OpenPOWER on IntegriCloud