diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2010-10-14 15:25:21 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-22 10:22:14 -0700 |
commit | 56626a72a47bf3e50875d960d6b5f17b9bee0ab2 (patch) | |
tree | 1bcc6ca5c2df4cac875a646bc45d1e26f4bfdf22 /fs | |
parent | 5535b1d5f8885695c6ded783c692e3c0d0eda8ca (diff) | |
download | linux-56626a72a47bf3e50875d960d6b5f17b9bee0ab2.tar.gz linux-56626a72a47bf3e50875d960d6b5f17b9bee0ab2.tar.bz2 linux-56626a72a47bf3e50875d960d6b5f17b9bee0ab2.zip |
USB: accept some invalid ep0-maxpacket values
A few devices (such as the RCA VR5220 voice recorder) are so
non-compliant with the USB spec that they have invalid maxpacket sizes
for endpoint 0. Nevertheless, as long as we can safely use them, we
may as well do so.
This patch (as1432) softens our acceptance criterion by allowing
high-speed devices to have ep0-maxpacket sizes other than 64. A
warning is printed in the system log when this happens, and the
existing error message is clarified.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported-by: James <bjlockie@lockie.ca>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions