]> git.baikalelectronics.ru Git - kernel.git/commit
[media] uvcvideo: Enable UVC 1.5 device detection
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 9 Nov 2015 17:33:58 +0000 (15:33 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 19 Nov 2015 13:13:19 +0000 (11:13 -0200)
commit2eca730f9750538b1aca8e713c5684b9d5368dc5
tree0ee347ba3aa82c376d0541e5c013a57ec104738f
parent7ad9a77c0047037d4f1a87997e8e5c5ba7fde203
[media] uvcvideo: Enable UVC 1.5 device detection

UVC 1.5 devices report a bInterfaceProtocol value set to 1 in their
interface descriptors. The uvcvideo driver only matches on
bInterfaceProtocol 0, preventing those devices from being detected.

More changes to the driver are needed for full UVC 1.5 compatibility.
However, at least the UVC 1.5 Microsoft Surface Pro 3 cameras have been
reported to work out of the box with the driver with an updated match
table.

Enable UVC 1.5 support in the match table to support the devices that
can work with the current driver implementation. Devices that can't will
fail, but that's hardly a regression as they're currently not detected
at all anyway.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/uvc/uvc_driver.c
include/uapi/linux/usb/video.h