mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v4 0/3] media: subdev: Add v4l2_subdev_get_frame_desc_passthrough and use it
@ 2025-03-24  8:04 Tomi Valkeinen
  2025-03-24  8:04 ` [PATCH v4 1/3] media: subdev: Add v4l2_subdev_get_frame_desc_passthrough helper Tomi Valkeinen
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Tomi Valkeinen @ 2025-03-24  8:04 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Laurent Pinchart, Sakari Ailus
  Cc: linux-media, linux-kernel, Tomi Valkeinen

When writing the exact same code the third time for Renesas, I thought
we probably need a helper.

 Tomi

Signed-off-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>
---
Changes in v4:
- Update the helper name in commit descriptions too
- Link to v3: https://lore.kernel.org/r/20250324-frame-desc-passthrough-v3-0-993839a1f9b3@ideasonboard.com

Changes in v3:
- Rename the helper to v4l2_subdev_get_frame_desc_passthrough()
- Check for fd->entry[] array overflow
- Add error prints (with dev_dbg)
- Link to v2: https://lore.kernel.org/r/20250219-frame-desc-passthrough-v2-0-5135d57ecd6a@ideasonboard.com

Changes in v2:
- Fix "uninitialized symbol 'ret'"
- Reorder local variables
- Link to v1: https://lore.kernel.org/r/20250218-frame-desc-passthrough-v1-0-a32458f53714@ideasonboard.com

---
Tomi Valkeinen (3):
      media: subdev: Add v4l2_subdev_get_frame_desc_passthrough helper
      media: i2c: ds90ub953: Use v4l2_subdev_get_frame_desc_passthrough
      media: i2c: ds90ub913: Use v4l2_subdev_get_frame_desc_passthrough

 drivers/media/i2c/ds90ub913.c         |  59 +-----------------
 drivers/media/i2c/ds90ub953.c         |  61 +-----------------
 drivers/media/v4l2-core/v4l2-subdev.c | 113 ++++++++++++++++++++++++++++++++++
 include/media/v4l2-subdev.h           |  22 +++++++
 4 files changed, 137 insertions(+), 118 deletions(-)
---
base-commit: f2151613e040973c868d28c8b00885dfab69eb75
change-id: 20250218-frame-desc-passthrough-66805e413974

Best regards,
-- 
Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>


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

end of thread, other threads:[~2026-03-04 13:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-24  8:04 [PATCH v4 0/3] media: subdev: Add v4l2_subdev_get_frame_desc_passthrough and use it Tomi Valkeinen
2025-03-24  8:04 ` [PATCH v4 1/3] media: subdev: Add v4l2_subdev_get_frame_desc_passthrough helper Tomi Valkeinen
2026-03-04 13:49   ` Sakari Ailus
2025-03-24  8:04 ` [PATCH v4 2/3] media: i2c: ds90ub953: Use v4l2_subdev_get_frame_desc_passthrough Tomi Valkeinen
2025-03-24  8:04 ` [PATCH v4 3/3] media: i2c: ds90ub913: " Tomi Valkeinen
2026-01-22 14:15 ` [PATCH v4 0/3] media: subdev: Add v4l2_subdev_get_frame_desc_passthrough and use it Tomi Valkeinen

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

all inboxes | Powered by JetHome®