diff options
| author | Pawel Laszczak <[email protected]> | 2021-03-08 13:53:38 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-03-18 09:02:27 +0100 |
| commit | 26adde04acdff14a1f28d4a5dce46a8513a3038b (patch) | |
| tree | 550810240434c7cd5844d141dfe89ef2e7e89b74 /include/uapi/linux | |
| parent | 064ece8d7ca78f7ee5470e553fd3cb71842e0115 (diff) | |
usb: gadget: uvc: add bInterval checking for HS mode
Patch adds extra checking for bInterval passed by configfs.
The 5.6.4 chapter of USB Specification (rev. 2.0) say:
"A high-bandwidth endpoint must specify a period of 1x125 µs
(i.e., a bInterval value of 1)."
The issue was observed during testing UVC class on CV.
I treat this change as improvement because we can control
bInterval by configfs.
Reviewed-by: Peter Chen <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Pawel Laszczak <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions