summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJeff Vanhoof <qjv001@motorola.com>2022-10-19 00:50:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-10-22 13:30:35 +0300
commitb57b08e6f431348363adffa5b6643fe3ec9dc7fe (patch)
tree655a7dfbd344b4acea4800e42b0b07572b0cdec4 /tools/perf/scripts/python/exported-sql-viewer.py
parent0a0a2760b04814428800d48281a447a7522470ad (diff)
downloadlinux-b57b08e6f431348363adffa5b6643fe3ec9dc7fe.tar.xz
usb: gadget: uvc: fix sg handling during video encode
In uvc_video_encode_isoc_sg, the uvc_request's sg list is incorrectly being populated leading to corrupt video being received by the remote end. When building the sg list the usage of buf->sg's 'dma_length' field is not correct and instead its 'length' field should be used. Fixes: e81e7f9a0eb9 ("usb: gadget: uvc: add scatter gather support") Cc: <stable@vger.kernel.org> Signed-off-by: Jeff Vanhoof <qjv001@motorola.com> Signed-off-by: Dan Vacura <w36195@motorola.com> Link: https://lore.kernel.org/r/20221018215044.765044-5-w36195@motorola.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions