diff options
| author | James Hilliard <james.hilliard1@gmail.com> | 2021-11-14 09:52:36 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-12-07 11:29:54 +0100 |
| commit | c8ed7d2f614cd8b315981d116c7a2fb01829500d (patch) | |
| tree | 06590e2d54dcaf0ede872154d68513fb56376f9b /tools/perf/scripts/python | |
| parent | media: uvcvideo: Set the colorspace as sRGB if undefined (diff) | |
| download | linux-c8ed7d2f614cd8b315981d116c7a2fb01829500d.tar.gz linux-c8ed7d2f614cd8b315981d116c7a2fb01829500d.zip | |
media: uvcvideo: Increase UVC_CTRL_CONTROL_TIMEOUT to 5 seconds.
Some uvc devices appear to require the maximum allowed USB timeout
for GET_CUR/SET_CUR requests.
So lets just bump the UVC control timeout to 5 seconds which is the
same as the usb ctrl get/set defaults:
USB_CTRL_GET_TIMEOUT 5000
USB_CTRL_SET_TIMEOUT 5000
It fixes the following runtime warnings:
Failed to query (GET_CUR) UVC control 11 on unit 2: -110 (exp. 1).
Failed to query (SET_CUR) UVC control 3 on unit 2: -110 (exp. 2).
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
