aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/uapi/linux/v4l2-controls.h
diff options
context:
space:
mode:
authorRicardo Ribalda <ribalda@chromium.org>2025-02-03 11:55:49 +0000
committerHans Verkuil <hverkuil@xs4all.nl>2025-03-03 18:23:36 +0100
commit1fde21ea0b4fe48da6f3b537d57e5d063d122328 (patch)
tree22f79db186203abfa039820b94164b6b7fc8795f /include/uapi/linux/v4l2-controls.h
parentmedia: uvcvideo: support V4L2_CTRL_WHICH_MIN/MAX_VAL (diff)
downloadwireguard-linux-1fde21ea0b4fe48da6f3b537d57e5d063d122328.tar.xz
wireguard-linux-1fde21ea0b4fe48da6f3b537d57e5d063d122328.zip
media: uvcvideo: let v4l2_query_v4l2_ctrl() work with v4l2_query_ext_ctrl
v4l2_query_ext_ctrl contains information that is missing in v4l2_queryctrl, like elem_size and elems. With this change we can handle all the element_size information inside uvc_ctrl.c. Now that we are at it, remove the memset of the reserved fields, the v4l2 ioctl handler should do that for us. There is no functional change expected from this change. Reviewed-by: Yunke Cao <yunkec@google.com> Tested-by: Yunke Cao <yunkec@google.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> Link: https://lore.kernel.org/r/20250203-uvc-roi-v17-13-5900a9fed613@chromium.org Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'include/uapi/linux/v4l2-controls.h')
0 files changed, 0 insertions, 0 deletions