Do not have a local copy of the item names. Instead use the ones from the v4l2 framework. To: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx> Cc: linux-media@xxxxxxxxxxxxxxx Cc: linux-kernel@xxxxxxxxxxxxxxx Cc: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> Signed-off-by: Ricardo Ribalda <ribalda@xxxxxxxxxxxx> --- Changes in v2: - Remove unused variables - Link to v1: https://lore.kernel.org/r/20220920-standard-menues-v1-0-839799192e9d@xxxxxxxxxxxx --- Ricardo Ribalda (2): media: uvcvideo: Implement mask for V4L2_CTRL_TYPE_MENU media: uvcvideo: Use standard names for menus drivers/media/usb/uvc/uvc_ctrl.c | 136 +++++++++++++++++++++++++------------ drivers/media/usb/uvc/uvc_driver.c | 8 +-- drivers/media/usb/uvc/uvc_v4l2.c | 81 ++++++++++++++++------ drivers/media/usb/uvc/uvcvideo.h | 5 +- include/uapi/linux/uvcvideo.h | 3 +- 5 files changed, 162 insertions(+), 71 deletions(-) --- base-commit: 521a547ced6477c54b4b0cc206000406c221b4d6 change-id: 20220920-standard-menues-6d703c57f231 Best regards, -- Ricardo Ribalda <ribalda@xxxxxxxxxxxx>