Skip to content

Commit 150f7b1

Browse files
ribaldamchehab
authored andcommitted
media: uvcvideo: Fix InterfaceProtocol for Quanta camera
The Quanta 0408:4034 camera implements UVC 1.5, and thus sets bInterfaceProtocol to UVC_PC_PROTOCOL_15. Commit 95f03d9 ("media: uvcvideo: Limit power line control for Quanta cameras") added a quirk for the device that incorrectly specified the UVC 1.0 protocol, rendering the quirk inoperative. Fix it. Link: https://lore.kernel.org/linux-media/[email protected] Fixes: 95f03d9 ("media: uvcvideo: Limit power line control for Quanta cameras") Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Ricardo Ribalda <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 568035b commit 150f7b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/media/usb/uvc/uvc_driver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2740,7 +2740,7 @@ static const struct usb_device_id uvc_ids[] = {
27402740
.idProduct = 0x4034,
27412741
.bInterfaceClass = USB_CLASS_VIDEO,
27422742
.bInterfaceSubClass = 1,
2743-
.bInterfaceProtocol = 0,
2743+
.bInterfaceProtocol = UVC_PC_PROTOCOL_15,
27442744
.driver_info = (kernel_ulong_t)&uvc_ctrl_power_line_limited },
27452745
/* LogiLink Wireless Webcam */
27462746
{ .match_flags = USB_DEVICE_ID_MATCH_DEVICE

0 commit comments

Comments
 (0)