Skip to content

Drop control handler argument support for v4l2_get_link_freq()

Sakari Ailus linux-media 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 0 repliesNew
  2. v2 posting 2/20 of 3 patches 8 repliesSuperseded
  3. v33 patches 3 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 1/22 patches5 repliesSuperseded
v12 patches4 repliesSuperseded

Changes in v4 from the cover letter

- Use Laurent's proposed text in documentation fix patch.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3media: amlogic: c3-mipi-csi2: Call v4l2_get_link_freq() on source paddrivers/media/platform/amlogic/c3/mipi-csi2/c3-mipi-csi2.c+3 -40 replies
2/3media: v4l2-common: Drop the workaround from v4l2_get_link_freq()drivers/media/v4l2-core/v4l2-common.c include/media/v4l2-common.h+12 -240 replies
3/3media: v4l2-common: Update v4l2_get_link_freq() documentationinclude/media/v4l2-common.h+6 -40 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJacopo MondiKeke LiLaurent PinchartNiklas Söderlund
1/3R-b R-b T-b
2/3R-b R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/3] Drop control handler argument support for v4l2_get_link_freq()

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 v3:

- Use Laurent's proposed text in documentation fix patch.

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                   | 27 +++++++------------
 3 files changed, 20 insertions(+), 31 deletions(-)
Signature · 1 line
2.47.2