Re: [PATCH 2/2] usb: webcam: Invalid size of Processing Unit Descriptor

2021-03-13 Thread Laurent Pinchart
Hi Pawel, Thank you for the patch. On Mon, Mar 08, 2021 at 11:27:35AM +0100, Pawel Laszczak wrote: > From: Pawel Laszczak > > According with USB Device Class Definition for Video Device the > Processing Unit Descriptor bLength should be 12 (10 + bmControlSize), > but it has 11. > > Invalid

Re: [PATCH 2/2] usb: webcam: Invalid size of Processing Unit Descriptor

2021-03-13 Thread Peter Chen
On 21-03-08 11:27:35, Pawel Laszczak wrote: > From: Pawel Laszczak > > According with USB Device Class Definition for Video Device the > Processing Unit Descriptor bLength should be 12 (10 + bmControlSize), > but it has 11. Does the reason forget filling bmVideoStandards entry? Peter > >

[PATCH 2/2] usb: webcam: Invalid size of Processing Unit Descriptor

2021-03-08 Thread Pawel Laszczak
From: Pawel Laszczak According with USB Device Class Definition for Video Device the Processing Unit Descriptor bLength should be 12 (10 + bmControlSize), but it has 11. Invalid length caused that Processing Unit Descriptor Test Video form CV tool failed. To fix this issue patch adds