mbox series

[00/10] uvcvideo: Pass v4l2-compliance test

Message ID 20210311122040.1264410-1-ribalda@chromium.org
Headers show
Series uvcvideo: Pass v4l2-compliance test | expand

Message

Ricardo Ribalda March 11, 2021, 12:20 p.m. UTC
Current version of the driver fails to pass v4l2-compliance v1.20.0,
lets patch it it so some million cameras are compliant.

Ricardo Ribalda (10):
  media: uvcvideo: Return -EINVAL for REQUEST API
  media: uvcvideo: Set capability in s_param
  media: uvcvideo: Return -EIO for control errors
  media: uvcvideo: Add support for V4L2_CTRL_TYPE_CTRL_CLASS
  media: uvcvideo: Define Control and GUIDs for class ctrls
  media: uvcvideo: Implement UVC_CTRL_CLASS_UNIT
  media: uvcvideo: set error_idx to count on EACCESS
  media: uvcvideo: Always return a value on V4L2_CTRL_WHICH_DEF_VAL
  media: uvcvideo: Do not create initial events for class ctrls
  media: uvcvideo: Populate only active control classes

 drivers/media/usb/uvc/uvc_ctrl.c   | 59 +++++++++++++++++++++++++++++-
 drivers/media/usb/uvc/uvc_driver.c | 51 +++++++++++++++++++++++---
 drivers/media/usb/uvc/uvc_entity.c |  1 +
 drivers/media/usb/uvc/uvc_v4l2.c   | 20 +++++-----
 drivers/media/usb/uvc/uvc_video.c  |  2 +-
 drivers/media/usb/uvc/uvcvideo.h   | 17 +++++++++
 6 files changed, 134 insertions(+), 16 deletions(-)