aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorRicardo Ribalda <ribalda@chromium.org>2025-03-13 12:20:39 +0000
committerHans Verkuil <hverkuil@xs4all.nl>2025-05-09 15:29:12 +0200
commit387e8939307192d5a852a2afeeb83427fa477151 (patch)
treea562dfab10dc20215a785ffc775bb9898133b45f /tools/testing/selftests/bpf/prog_tests/autoload.c
parentmedia: uvcvideo: Rollback non processed entities on error (diff)
downloadwireguard-linux-387e8939307192d5a852a2afeeb83427fa477151.tar.xz
wireguard-linux-387e8939307192d5a852a2afeeb83427fa477151.zip
media: uvcvideo: Fix deferred probing error
uvc_gpio_parse() can return -EPROBE_DEFER when the GPIOs it depends on have not yet been probed. This return code should be propagated to the caller of uvc_probe() to ensure that probing is retried when the required GPIOs become available. Currently, this error code is incorrectly converted to -ENODEV, causing some internal cameras to be ignored. This commit fixes this issue by propagating the -EPROBE_DEFER error. Cc: stable@vger.kernel.org Fixes: 2886477ff987 ("media: uvcvideo: Implement UVC_EXT_GPIO_UNIT") Reviewed-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> Message-ID: <20250313-uvc-eprobedefer-v3-1-a1d312708eef@chromium.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions