media: uvcvideo: Force UVC version to 1.0a for 1bcf:0b40
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 20 Nov 2020 10:57:48 +0000 (11:57 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 27 Jan 2021 13:45:55 +0000 (14:45 +0100)
commitb400b6f28af040d55b4eb397ea7b8ece368c6b12
tree33ff70d142937feaba9191e85f2f0085f6f60765
parentea354b6ddd6f09be29424f41fa75a3e637fea234
media: uvcvideo: Force UVC version to 1.0a for 1bcf:0b40

The Shenzhen Aoni Electronic Co.,Ltd 2K FHD camera reports a UVC 1.10
version, but implements UVC 1.0a as shown by the UVC probe control being
26 bytes long. Force the UVC version for that device.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reported-by: Doncho Minkov <donchominkov@gmail.com>
Tested-by: Doncho Minkov <donchominkov@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/usb/uvc/uvc_driver.c
drivers/media/usb/uvc/uvcvideo.h