diff options
author | Felipe Balbi <balbi@ti.com> | 2013-07-01 10:23:23 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-25 20:49:30 +0200 |
commit | afb8aae89890e65bd4b828de38bd430d4f31caa8 (patch) | |
tree | 07eb09ce5f005e1d7201e1537bacb8e80a0e6a76 /drivers/usb/atm | |
parent | usb: class: cdc-acm: be careful with bInterval (diff) | |
download | linux-afb8aae89890e65bd4b828de38bd430d4f31caa8.tar.xz linux-afb8aae89890e65bd4b828de38bd430d4f31caa8.zip |
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.c | 2 |
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__); |