summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRicardo Ribalda <ribalda@chromium.org>2025-05-09 18:24:14 +0000
committerHans Verkuil <hverkuil@xs4all.nl>2025-06-16 08:43:23 +0200
commit7e666b1aaccadf7ba3ba8c0d0eed5bf876b14d8e (patch)
tree6f57c2f377ad5d14fa0771c503a87b584afca934 /tools/perf/scripts/python
parent0aa112e4a880ff809ecd3426d9c7c9e1f4ad3826 (diff)
downloadlinux-7e666b1aaccadf7ba3ba8c0d0eed5bf876b14d8e.tar.gz
linux-7e666b1aaccadf7ba3ba8c0d0eed5bf876b14d8e.zip
media: uvcvideo: Refactor uvc_queue_streamon
Do uvc_pm_get before we call uvc_queue_streamon. Although the current code is correct, uvc_ioctl_streamon is allways called after uvc_pm_get, this change makes the code more resiliant to future changes. Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Link: https://lore.kernel.org/r/20250509-uvc-followup-v1-2-73bcde30d2b5@chromium.org Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions