Linux Media Controller development
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Drop control handler argument support for v4l2_get_link_freq()
@ 2025-08-21 12:12 Sakari Ailus
  2025-08-21 12:12 ` [PATCH v3 1/3] media: amlogic: c3-mipi-csi2: Call v4l2_get_link_freq() on source pad Sakari Ailus
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Sakari Ailus @ 2025-08-21 12:12 UTC (permalink / raw)
  To: linux-media
  Cc: Keke Li, Hans Verkuil, Nicolas Dufresne, Laurent Pinchart,
	Tomi Valkeinen, Jonas Karlman, Mehdi Djait, Daniel Scally,
	Niklas Söderlund

Hi folks,

This set removes the workaround from v4l2_get_link_freq() that allowed
calling it on a control handler. The Amlogic c3-mipi-csi2 driver is
converted in the process as well.

As a result there's also no definition of v4l2_get_link_freq() without
CONFIG_MEDIA_CONTROLLER but that should be fine now. The Amlogic patch is
untested.

since v2:

- Improve documentation for v4l2_get_link_freq(), aligning it to the
  removal of control handler argument support.

- Add a patch to mention the primary source of the link frequency is the
  get_mbus_config pad operation.

since v1:

- Remove redundant src_pad argument from c3_mipi_csi_start_stream().

Sakari Ailus (3):
  media: amlogic: c3-mipi-csi2: Call v4l2_get_link_freq() on source pad
  media: v4l2-common: Drop the workaround from v4l2_get_link_freq()
  media: v4l2-common: Update v4l2_get_link_freq() documentation

 .../amlogic/c3/mipi-csi2/c3-mipi-csi2.c       |  7 +++---
 drivers/media/v4l2-core/v4l2-common.c         | 17 ++++++-------
 include/media/v4l2-common.h                   | 25 ++++++-------------
 3 files changed, 19 insertions(+), 30 deletions(-)

-- 
2.47.2


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

end of thread, other threads:[~2025-08-22 10:03 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-21 12:12 [PATCH v2 0/3] Drop control handler argument support for v4l2_get_link_freq() Sakari Ailus
2025-08-21 12:12 ` [PATCH v3 1/3] media: amlogic: c3-mipi-csi2: Call v4l2_get_link_freq() on source pad Sakari Ailus
2025-08-21 12:12 ` [PATCH v3 2/3] media: v4l2-common: Drop the workaround from v4l2_get_link_freq() Sakari Ailus
2025-08-21 12:35   ` Laurent Pinchart
2025-08-21 12:12 ` [PATCH v3 3/3] media: v4l2-common: Update v4l2_get_link_freq() documentation Sakari Ailus
2025-08-21 12:40   ` Laurent Pinchart
2025-08-21 12:57     ` Sakari Ailus
2025-08-21 12:41 ` [PATCH v2 0/3] Drop control handler argument support for v4l2_get_link_freq() Laurent Pinchart
2025-08-21 12:56   ` Sakari Ailus
2025-08-21 13:01     ` Laurent Pinchart
2025-08-21 13:24       ` Sakari Ailus
2025-08-21 13:27         ` Laurent Pinchart
2025-08-21 13:30           ` Sakari Ailus
2025-08-21 13:45             ` Laurent Pinchart
2025-08-22 10:03               ` Hans Verkuil

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