]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
media: uvcvideo: Support realtek's UVC 1.5 device
authorming_qian <ming_qian@realsil.com.cn>
Wed, 9 May 2018 02:13:08 +0000 (22:13 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 28 May 2018 20:59:55 +0000 (16:59 -0400)
commitf620d1d7afc7db57ab59f35000752840c91f67e7
treead11675a16b771b6fee31b8a6c63867b4428418e
parentf9ffcb0a21e1fa8e64d09ed613d884e054ae8191
media: uvcvideo: Support realtek's UVC 1.5 device

media: uvcvideo: Support UVC 1.5 video probe & commit controls

The length of UVC 1.5 video control is 48, and it is 34 for UVC 1.1.
Change it to 48 for UVC 1.5 device, and the UVC 1.5 device can be
recognized.

More changes to the driver are needed for full UVC 1.5 compatibility.
However, at least the UVC 1.5 Realtek RTS5847/RTS5852 cameras have been
reported to work well.

[laurent.pinchart@ideasonboard.com: Factor out code to helper function, update size checks]

Cc: stable@vger.kernel.org
Signed-off-by: ming_qian <ming_qian@realsil.com.cn>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Tested-by: Ana Guerrero Lopez <ana.guerrero@collabora.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/usb/uvc/uvc_video.c