aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorRicardo Ribalda <ribalda@chromium.org>2024-11-28 20:53:41 +0000
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2024-12-19 14:44:43 +0000
commitf00ee2ca8da25ebccb8e19956d853c9055e2c8d0 (patch)
treea24947d65bd754aeb8954b17734d1ce9dc544bf4 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentmedia: uvcvideo: Fix event flags in uvc_ctrl_send_events (diff)
downloadwireguard-linux-f00ee2ca8da25ebccb8e19956d853c9055e2c8d0.tar.xz
wireguard-linux-f00ee2ca8da25ebccb8e19956d853c9055e2c8d0.zip
media: uvcvideo: Support partial control reads
Some cameras, like the ELMO MX-P3, do not return all the bytes requested from a control if it can fit in less bytes. Eg: Returning 0xab instead of 0x00ab. usb 3-9: Failed to query (GET_DEF) UVC control 3 on unit 2: 1 (exp. 2). Extend the returned value from the camera and return it. Cc: stable@vger.kernel.org Fixes: a763b9fb58be ("media: uvcvideo: Do not return positive errors in uvc_query_ctrl()") Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> Link: https://lore.kernel.org/r/20241128-uvc-readless-v5-1-cf16ed282af8@chromium.org Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions