Files
twx-linux/include/uapi/linux
Pawel Laszczak 1b2207a196 usb: webcam: Invalid size of Processing Unit Descriptor
[ Upstream commit 6a154ec9ef ]

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 bmVideoStandards into
uvc_processing_unit_descriptor structure.

The bmVideoStandards field was added in UVC 1.1 and it wasn't part of
UVC 1.0a.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Reviewed-by: Peter Chen <peter.chen@kernel.org>
Link: https://lore.kernel.org/r/20210315071748.29706-1-pawell@gli-login.cadence.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-11 14:04:05 +02:00
..
…
…
…
…
…
…
2020-06-07 13:18:48 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-09-19 14:22:44 +02:00
…
…
…
…
2019-09-25 17:51:39 -07:00
2019-08-02 14:44:02 +10:00
…
…
…
…
2019-09-16 10:18:01 -04:00
2020-05-06 08:15:01 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-08-12 19:33:50 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-09-18 10:43:22 -06:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-09-08 15:37:04 +02:00
…
…
…
…
…
…
…
…
…
2019-08-19 13:04:45 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-09-23 16:10:28 -05:00
…
…
2020-10-29 09:58:00 +01:00
…
2019-10-02 20:32:27 -06:00
…
…
…
…
…
2019-07-30 20:34:34 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-11-05 15:50:14 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-09-16 16:26:11 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-09-18 20:17:50 +02:00
…
2019-08-01 21:49:46 +02:00
…
…
…
2020-06-03 08:21:33 +02:00
…