Loading drivers/usb/gadget/function/f_uvc.c +6 −6 Original line number Diff line number Diff line Loading @@ -821,9 +821,9 @@ static struct usb_function_instance *uvc_alloc_inst(void) cd->wObjectiveFocalLengthMax = cpu_to_le16(0); cd->wOcularFocalLength = cpu_to_le16(0); cd->bControlSize = 3; cd->bmControls[0] = 2; cd->bmControls[1] = 0; cd->bmControls[2] = 0; cd->bmControls[0] = 46; cd->bmControls[1] = 2; cd->bmControls[2] = 10; pd = &opts->uvc_processing; pd->bLength = UVC_DT_PROCESSING_UNIT_SIZE(3); Loading @@ -833,9 +833,9 @@ static struct usb_function_instance *uvc_alloc_inst(void) pd->bSourceID = 1; pd->wMaxMultiplier = cpu_to_le16(16*1024); pd->bControlSize = 3; pd->bmControls[0] = 64; pd->bmControls[1] = 16; pd->bmControls[2] = 1; pd->bmControls[0] = 90; pd->bmControls[1] = 20; pd->bmControls[2] = 4; pd->iProcessing = 0; pd->bmVideoStandards = 0; Loading Loading
drivers/usb/gadget/function/f_uvc.c +6 −6 Original line number Diff line number Diff line Loading @@ -821,9 +821,9 @@ static struct usb_function_instance *uvc_alloc_inst(void) cd->wObjectiveFocalLengthMax = cpu_to_le16(0); cd->wOcularFocalLength = cpu_to_le16(0); cd->bControlSize = 3; cd->bmControls[0] = 2; cd->bmControls[1] = 0; cd->bmControls[2] = 0; cd->bmControls[0] = 46; cd->bmControls[1] = 2; cd->bmControls[2] = 10; pd = &opts->uvc_processing; pd->bLength = UVC_DT_PROCESSING_UNIT_SIZE(3); Loading @@ -833,9 +833,9 @@ static struct usb_function_instance *uvc_alloc_inst(void) pd->bSourceID = 1; pd->wMaxMultiplier = cpu_to_le16(16*1024); pd->bControlSize = 3; pd->bmControls[0] = 64; pd->bmControls[1] = 16; pd->bmControls[2] = 1; pd->bmControls[0] = 90; pd->bmControls[1] = 20; pd->bmControls[2] = 4; pd->iProcessing = 0; pd->bmVideoStandards = 0; Loading