]> Gentwo Git Trees - linux/.git/commit
media: uvcvideo: Move MSXU_CONTROL_METADATA definition to header
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 15 Jul 2025 18:52:54 +0000 (21:52 +0300)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Sat, 13 Sep 2025 16:34:59 +0000 (18:34 +0200)
commit1ab40529ad52f339975886a6a9e815dfdcb8d011
treeb5aa8cf6c4d95ffd8b543d36a5c71bea42a24c12
parent50c320a5f7065de7b0bcba67f72d23e40188bc70
media: uvcvideo: Move MSXU_CONTROL_METADATA definition to header

Move the MSXU_CONTROL_METADATA control definitino to the
include/linux/usb/uvc.h header, alongside the corresponding XU GUID. Add
a UVC_ prefix to avoid namespace clashes.

While at it, add the definition for the other controls for that
extension unit, as defined in
https://learn.microsoft.com/en-us/windows-hardware/drivers/stream/uvc-extensions-1-5#222-extension-unit-controls.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Hans de Goede <hansg@kernel.org>
Signed-off-by: Hans de Goede <hansg@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/usb/uvc/uvc_metadata.c
include/linux/usb/uvc.h