summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRicardo Ribalda <ribalda@chromium.org>2026-03-16 16:34:46 +0300
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-05-12 08:30:53 +0300
commit02f93b4f940c66b99258cce954dcaeda7b3295a8 (patch)
tree9f2b398b828fa9e4f2cbd2fdeab4c7074b626463 /include/linux
parent85355f7268af2e1cdb771842de59ac6be42863d5 (diff)
downloadlinux-02f93b4f940c66b99258cce954dcaeda7b3295a8.tar.xz
media: uvcvideo: Introduce allow_privacy_override module parameter
Some camera modules have XU controls that can configure the behaviour of the privacy LED. Block mapping of those controls, unless the module is configured with a new parameter: allow_privacy_override. Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> [johannes.goede@oss.qualcomm.com: Remove deprecation warning from param] Reviewed-by: Hans de Goede <johannes.goede@oss.qualcomm.com> Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/usb/uvc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/usb/uvc.h b/include/linux/usb/uvc.h
index 84f35c6f4d6e..99b070ab860f 100644
--- a/include/linux/usb/uvc.h
+++ b/include/linux/usb/uvc.h
@@ -49,6 +49,10 @@
#define UVC_GUID_LOGITECH_PERIPHERAL \
{0x21, 0x2d, 0xe5, 0xff, 0x30, 0x80, 0x2c, 0x4e, \
0x82, 0xd9, 0xf5, 0x87, 0xd0, 0x05, 0x40, 0xbd }
+#define UVC_GUID_LOGITECH_USER_HW_CONTROL_V1 \
+ {0x82, 0x06, 0x61, 0x63, 0x70, 0x50, 0xab, 0x49, \
+ 0xb8, 0xcc, 0xb3, 0x85, 0x5e, 0x8d, 0x22, 0x1f }
+
/* https://learn.microsoft.com/en-us/windows-hardware/drivers/stream/uvc-extensions-1-5#222-extension-unit-controls */
#define UVC_MSXU_CONTROL_FOCUS 0x01