Files
linux-stable-mirror/include/linux
Felipe Balbi 42189d854f usb: clamp bInterval to allowed range
bInterval must be within the range 1 - 16
when running at High/Super speed, and within
the range 1 - 255 when running at Full/Low speed.

In order to catch drivers passing a too
large bInterval on Super/High speed scenarios
(thus overflowing urb->interval), let's clamp()
the argument to the allowed ranges.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-07-25 11:49:30 -07:00
..
2013-07-02 22:08:20 +01:00
2013-07-03 16:07:39 -07:00
2013-07-10 23:41:18 +01:00
2013-07-03 16:07:32 -07:00
2013-07-18 13:05:23 -07:00
2013-07-16 22:00:14 -07:00
2013-07-09 10:33:30 -07:00
2013-07-10 18:11:34 -07:00
2013-07-02 15:38:19 +09:30
2013-07-03 16:08:05 -07:00
2013-07-03 16:08:05 -07:00
2013-07-10 18:11:34 -07:00
2013-07-05 11:41:00 +05:30
2013-07-25 11:49:30 -07:00
2013-07-10 18:11:34 -07:00