diff options
| author | Ricardo Ribalda <ribalda@chromium.org> | 2025-05-23 14:28:41 +0000 |
|---|---|---|
| committer | Hans Verkuil <hverkuil@xs4all.nl> | 2025-06-16 08:43:23 +0200 |
| commit | cdf8f4c78ab0c2dc98dd5b017b0a31590c3e046d (patch) | |
| tree | bc51e45ad459929fff3304903f177b9b2815e97c /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 649c033711d7fd6e1d5d69e4cfc3fceca7de2867 (diff) | |
| download | linux-cdf8f4c78ab0c2dc98dd5b017b0a31590c3e046d.tar.gz linux-cdf8f4c78ab0c2dc98dd5b017b0a31590c3e046d.zip | |
media: uvcvideo: Populate all errors in uvc_probe()
Now we are replacing most of the error codes with -ENODEV.
Instead, Populate the error code from the functions called by
uvc_probe().
Take this opportunity to replace a generic error code from
uvc_scan_device() into something more meaningful.
Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Hans de Goede <hansg@kernel.org>
Link: https://lore.kernel.org/r/20250523-uvc-followup-v2-1-487541656e83@chromium.org
Signed-off-by: Hans de Goede <hansg@kernel.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
