Skip to contentSkip to conversation

uvcvideo changes

GIT PULL Laurent Pinchart 1 participant 1 message Jan 15, 2023 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi Mauro,

Here's a third attempt at a pull request for the uvcvideo driver, fixing a compilation warning that I had missed.

The first commit in the branch (50459f103edf "media: uvcvideo: Remove format descriptions") may need to be merged in the linux-usb tree as well, as it would conflict with work from Michael Grzeschik on the UVC gadget side. I've thus based this pull request on v6.2-rc1, making sure it can be used as a stable branch for Michael. Please merge it as-is, without cherry-picking.

The following changes since commit 1b929c02afd37871d5afb9d498426f83432e71c2:

Linux 6.2-rc1 (2022-12-25 13:41:39 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/pinchartl/linux.git tags/media-uvc-next-20230115

for you to fetch changes up to b839212988575c701aab4d3d9ca15e44c87e383c:

media: uvcvideo: Silence memcpy() run-time false positive warnings (2023-01-15 23:45:15 +0200)

----------------------------------------------------------------
uvcvideo fixes and improvements

----------------------------------------------------------------
Guenter Roeck (1):
media: uvcvideo: Handle errors from calls to usb_string

Hans Verkuil (2):
media: uvcvideo: Check for INACTIVE in uvc_ctrl_is_accessible()
media: uvcvideo: Improve error logging in uvc_query_ctrl()

Kees Cook (1):
media: uvcvideo: Silence memcpy() run-time false positive warnings

Laurent Pinchart (2):
media: uvcvideo: Remove format descriptions
media: uvcvideo: Factor out usb_string() calls

Pedro Guilherme Siqueira Moreira (3):
media: uvcvideo: Fix missing newline after declarations
media: uvcvideo: Fix assignment inside if condition
media: uvcvideo: Fix usage of symbolic permissions to octal

Ricardo Ribalda (18):
media: uvcvideo: Handle cameras with invalid descriptors
media: uvcvideo: Only create input devs if hw supports it
media: uvcvideo: Remove void casting for the status endpoint
media: uvcvideo: Recover stalled ElGato devices
media: uvcvideo: Limit power line control for Acer EasyCamera
media: uvcvideo: Return -EACCES for Wrong state error
media: uvcvideo: Do not return positive errors in uvc_query_ctrl()
media: uvcvideo: Fix handling on Bitmask controls
media: uvcvideo: Refactor __uvc_ctrl_add_mapping
media: uvcvideo: Limit power line control for Acer EasyCamera
media: uvcvideo: Extend documentation of uvc_video_clock_decode()
media: uvcvideo: Implement mask for V4L2_CTRL_TYPE_MENU
media: uvcvideo: Refactor uvc_ctrl_mappings_uvcXX
media: uvcvideo: Refactor power_line_frequency_controls_limited
media: uvcvideo: Fix power line control for Lenovo Integrated Camera
media: uvcvideo: Use standard names for menus
media: uvcvideo: Fix race condition with usb_kill_urb
media: uvcvideo: Quirk for autosuspend in Logitech B910 and C910

 drivers/media/usb/uvc/uvc_ctrl.c   | 342 +++++++++++++++++++++++++++----------
 drivers/media/usb/uvc/uvc_driver.c | 181 +++++++++++---------
 drivers/media/usb/uvc/uvc_entity.c |   2 +-
 drivers/media/usb/uvc/uvc_status.c | 125 +++++++++-----
 drivers/media/usb/uvc/uvc_v4l2.c   | 111 ++++++++----
 drivers/media/usb/uvc/uvc_video.c  |  58 +++++--
 drivers/media/usb/uvc/uvcvideo.h   |  39 ++++-
 include/uapi/linux/uvcvideo.h      |   6 +-
 8 files changed, 596 insertions(+), 268 deletions(-)
Signature · 3 lines
Regards,

Laurent Pinchart