diff options
| author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-01-03 15:36:20 +0100 |
|---|---|---|
| committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2023-01-15 23:45:11 +0200 |
| commit | 67a655be5748426a9bda7845fc264ccf71a76ea3 (patch) | |
| tree | 6340da33d0f78c0350f42da314d3520d94ad06f6 /tools/perf/scripts/python | |
| parent | media: uvcvideo: Check for INACTIVE in uvc_ctrl_is_accessible() (diff) | |
| download | linux-67a655be5748426a9bda7845fc264ccf71a76ea3.tar.gz linux-67a655be5748426a9bda7845fc264ccf71a76ea3.zip | |
media: uvcvideo: Improve error logging in uvc_query_ctrl()
Standard use of the driver may result in error messages on the kernel
log. This can hide other more important messages, and alert
unnecessarily the user. Let's keep dev_err() for the important
occasions.
If __uvc_query_ctrl() failed with a non -EPIPE error, then report that
with dev_err. If an error code is obtained, then report that with
dev_dbg.
Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
