Commit afb8aae8 authored by Felipe Balbi's avatar Felipe Balbi Committed by Greg Kroah-Hartman

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: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d102e78f
...@@ -888,7 +888,7 @@ static int speedtch_bind(struct usbatm_data *usbatm, ...@@ -888,7 +888,7 @@ static int speedtch_bind(struct usbatm_data *usbatm,
usb_fill_int_urb(instance->int_urb, usb_dev, usb_fill_int_urb(instance->int_urb, usb_dev,
usb_rcvintpipe(usb_dev, ENDPOINT_INT), usb_rcvintpipe(usb_dev, ENDPOINT_INT),
instance->int_data, sizeof(instance->int_data), instance->int_data, sizeof(instance->int_data),
speedtch_handle_int, instance, 50); speedtch_handle_int, instance, 16);
else else
usb_dbg(usbatm, "%s: no memory for interrupt urb!\n", __func__); usb_dbg(usbatm, "%s: no memory for interrupt urb!\n", __func__);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment