From: Hans Verkuil <hverkuil@xs4all.nl>
To: Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: [GIT PULL FOR v5.14] v4l2-ctrls: one fix plus refactor work
Date: Tue, 25 May 2021 15:58:30 +0200 [thread overview]
Message-ID: <b1efb0db-9894-5f9b-e1b8-d733758822bb@xs4all.nl> (raw)
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
next reply other threads:[~2021-05-25 13:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-25 13:58 Hans Verkuil [this message]
2021-05-25 14:26 ` [GIT PULL FOR v5.14] v4l2-ctrls: one fix plus refactor work (#74554) Jenkins
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b1efb0db-9894-5f9b-e1b8-d733758822bb@xs4all.nl \
--to=hverkuil@xs4all.nl \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).