[GIT PULL FOR v5.14] v4l2-ctrls: one fix plus refactor work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This PR is against media_stage/master.

The first patch fixes the behavior of request completion if there are no
controls in the committed request at all. We may decide to backport this
patch to older kernel (I don't think it is needed, but that's not entirely
clear at the moment), which is the reason for applying this patch first
before the second patch, which splits up the much-too-large v4l2-ctrls.c
into four sources. This greatly improves maintainability.

This split does not introduce any new functionality, it is just reorganizing
code.

Regards,

	Hans

The following changes since commit 2fb27551ba4053ae503ce6c3b7b5d87cd206b1fd:

  media: imx: imx7_mipi_csis: Update MAINTAINERS (2021-05-23 19:21:33 +0200)

are available in the Git repository at:

  git://linuxtv.org/hverkuil/media_tree.git tags/br-v5.14d

for you to fetch changes up to a22c6896d7f811ff15e9be51bdfeb9e3f0224d31:

  v4l2-ctrls: split up into four source files (2021-05-25 10:21:15 +0200)

----------------------------------------------------------------
Tag branch

----------------------------------------------------------------
Hans Verkuil (2):
      v4l2-ctrls: always copy the controls on completion
      v4l2-ctrls: split up into four source files

 Documentation/userspace-api/media/v4l/ext-ctrls-codec-stateless.rst |    4 +-
 drivers/media/v4l2-core/Makefile                                    |    5 +-
 drivers/media/v4l2-core/v4l2-ctrls-api.c                            | 1225 ++++++++
 drivers/media/v4l2-core/v4l2-ctrls-core.c                           | 1939 ++++++++++++
 drivers/media/v4l2-core/v4l2-ctrls-defs.c                           | 1575 ++++++++++
 drivers/media/v4l2-core/v4l2-ctrls-priv.h                           |   96 +
 drivers/media/v4l2-core/v4l2-ctrls-request.c                        |  496 +++
 drivers/media/v4l2-core/v4l2-ctrls.c                                | 5083 -------------------------------
 8 files changed, 5336 insertions(+), 5087 deletions(-)
 create mode 100644 drivers/media/v4l2-core/v4l2-ctrls-api.c
 create mode 100644 drivers/media/v4l2-core/v4l2-ctrls-core.c
 create mode 100644 drivers/media/v4l2-core/v4l2-ctrls-defs.c
 create mode 100644 drivers/media/v4l2-core/v4l2-ctrls-priv.h
 create mode 100644 drivers/media/v4l2-core/v4l2-ctrls-request.c
 delete mode 100644 drivers/media/v4l2-core/v4l2-ctrls.c



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux