aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorRicardo Ribalda <[email protected]>2025-03-13 12:20:39 +0000
committerHans Verkuil <[email protected]>2025-05-09 13:29:12 +0000
commit387e8939307192d5a852a2afeeb83427fa477151 (patch)
treea562dfab10dc20215a785ffc775bb9898133b45f /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentmedia: uvcvideo: Rollback non processed entities on error (diff)
downloadkernel-387e8939307192d5a852a2afeeb83427fa477151.tar.gz
kernel-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: [email protected] Fixes: 2886477ff987 ("media: uvcvideo: Implement UVC_EXT_GPIO_UNIT") Reviewed-by: Douglas Anderson <[email protected]> Signed-off-by: Ricardo Ribalda <[email protected]> Message-ID: <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions