mbox series

[v2,0/7] media: uvcvideo: Misc cleanups

Message ID 20230506071427.28108-1-laurent.pinchart@ideasonboard.com
Headers show
Series media: uvcvideo: Misc cleanups | expand

Message

Laurent Pinchart May 6, 2023, 7:14 a.m. UTC
Hello,

This small patch series contains miscellaneous drive-by cleanups for the
uvcvideo driver. There isn't much to tell here, please see individual
patches for details.

Laurent Pinchart (7):
  media: uvcvideo: Rename uvc_streaming 'format' field to 'formats'
  media: uvcvideo: Rename uvc_format 'frame' field to 'frames'
  media: uvcvideo: Use clamp() to replace manual implementation
  media: uvcvideo: Reorganize format descriptor parsing
  media: uvcvideo: Increment intervals pointer at end of parsing
  media: uvcvideo: Constify formats, frames and intervals
  media: uvcvideo: Constify descriptor buffers

 drivers/media/usb/uvc/uvc_driver.c | 76 ++++++++++++++++------------
 drivers/media/usb/uvc/uvc_v4l2.c   | 79 +++++++++++++++---------------
 drivers/media/usb/uvc/uvc_video.c  | 20 ++++----
 drivers/media/usb/uvc/uvcvideo.h   | 12 ++---
 4 files changed, 101 insertions(+), 86 deletions(-)


base-commit: 423f331364bfbcd1212b78ac9052894ff5213ac9
prerequisite-patch-id: 742f7d139e5ba686a5487b0133ba6587b5b421dc