diff options
author | Alan Stern <[email protected]> | 2018-05-03 11:04:48 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-05-03 10:16:38 -0700 |
commit | fb5ee84ea72c5f1b6cabdd1c9d6e8648995ca7c6 (patch) | |
tree | 0bc3daa3d7ac428782316d38ed59b42691d4b7c0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 44a182b9d17765514fa2b1cc911e4e65134eef93 (diff) |
USB: Accept bulk endpoints with 1024-byte maxpacket
Some non-compliant high-speed USB devices have bulk endpoints with a
1024-byte maxpacket size. Although such endpoints don't work with
xHCI host controllers, they do work with EHCI controllers. We used to
accept these invalid sizes (with a warning), but we no longer do
because of an unintentional change introduced by commit aed9d65ac327
("USB: validate wMaxPacketValue entries in endpoint descriptors").
This patch restores the old behavior, so that people with these
peculiar devices can use them without patching their kernels by hand.
Signed-off-by: Alan Stern <[email protected]>
Suggested-by: Elvinas <[email protected]>
Fixes: aed9d65ac327 ("USB: validate wMaxPacketValue entries in endpoint descriptors")
CC: <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions