summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorXu Yang <xu.yang_2@nxp.com>2026-01-13 17:53:08 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-23 11:21:27 +0100
commitaee473246134b33dbb5e2b58926b59632a84a223 (patch)
tree14a5e94442b5623206ead390486b94beae55d8df /tools/perf/scripts/python
parent34f6634dba87ef72b3c3a3a524be663adef7ab42 (diff)
downloadkernel-aee473246134b33dbb5e2b58926b59632a84a223.tar.gz
usb: gadget: uvc: fix interval_duration calculation
commit 010dc57cb5163e5f4a32430dd5091cc29efd0471 upstream. According to USB specification: For full-/high-speed isochronous endpoints, the bInterval value is used as the exponent for a 2^(bInterval-1) value. To correctly convert bInterval as interval_duration: interval_duration = 2^(bInterval-1) * frame_interval Because the unit of video->interval is 100ns, add a comment info to make it clear. Fixes: 48dbe731171e ("usb: gadget: uvc: set req_size and n_requests based on the frame interval") Cc: stable@vger.kernel.org Reviewed-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Xu Yang <xu.yang_2@nxp.com> Link: https://patch.msgid.link/20260113-uvc-gadget-fix-patch-v2-2-62950ef5bcb5@nxp.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions