The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v3 0/2] media: uvcvideo: Fix Fix deferred probing error
@ 2025-03-13 12:20 Ricardo Ribalda
  2025-03-13 12:20 ` [PATCH v3 1/2] media: uvcvideo: " Ricardo Ribalda
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Ricardo Ribalda @ 2025-03-13 12:20 UTC (permalink / raw)
  To: Laurent Pinchart, Hans de Goede, Mauro Carvalho Chehab
  Cc: Mauro Carvalho Chehab, linux-media, linux-kernel, Ricardo Ribalda,
	stable, Douglas Anderson

uvc_gpio_parse() can return -EPROBE_DEFER when the GPIOs it depends on
have not yet been probed.

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
---
Changes in v3:
- Remove duplicated error messages in uvc_probe()
- Link to v2: https://lore.kernel.org/r/20250303-uvc-eprobedefer-v2-0-be7c987cc3ca@chromium.org

Changes in v2:
- Add follow-up patch for using dev_err_probe
- Avoid error_retcode style
- Link to v1: https://lore.kernel.org/r/20250129-uvc-eprobedefer-v1-1-643b2603c0d2@chromium.org

---
Ricardo Ribalda (2):
      media: uvcvideo: Fix deferred probing error
      media: uvcvideo: Use dev_err_probe for devm_gpiod_get_optional

 drivers/media/usb/uvc/uvc_driver.c | 38 ++++++++++++++++++++++++++------------
 1 file changed, 26 insertions(+), 12 deletions(-)
---
base-commit: f4b211714bcc70effa60c34d9fa613d182e3ef1e
change-id: 20250129-uvc-eprobedefer-b5ebb4db63cc

Best regards,
-- 
Ricardo Ribalda <ribalda@chromium.org>


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-04-28 13:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-13 12:20 [PATCH v3 0/2] media: uvcvideo: Fix Fix deferred probing error Ricardo Ribalda
2025-03-13 12:20 ` [PATCH v3 1/2] media: uvcvideo: " Ricardo Ribalda
2025-04-22 18:06   ` Laurent Pinchart
2025-04-22 22:50     ` Ricardo Ribalda
2025-04-22 23:05       ` Laurent Pinchart
2025-04-22 23:18         ` Ricardo Ribalda
2025-04-28 13:28           ` Hans de Goede
2025-03-13 12:20 ` [PATCH v3 2/2] media: uvcvideo: Use dev_err_probe for devm_gpiod_get_optional Ricardo Ribalda
2025-04-22 18:08   ` Laurent Pinchart
2025-04-07 13:33 ` [PATCH v3 0/2] media: uvcvideo: Fix Fix deferred probing error Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox