Find a file
Sakari Ailus 72364b91ce media: v4l: subdev: Add a function to lock two sub-device states, use it
Add two new functions, v4l2_subdev_lock_states() and
v4l2_subdev_unclock_states(), to acquire and release the state of two
sub-devices. They differ from calling v4l2_subdev_{un,}lock_state() so
that if the two states share the same lock, the lock is acquired only
once.

Also use the new functions in v4l2_subdev_link_validate().

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Julien Massot <julien.massot@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2024-04-29 14:56:37 +02:00
arch Kbuild fixes for v6.9 2024-03-31 11:23:51 -07:00
block
certs
crypto
Documentation media: Documentation: Document S_ROUTING behaviour 2024-04-29 14:56:36 +02:00
drivers media: v4l: subdev: Add a function to lock two sub-device states, use it 2024-04-29 14:56:37 +02:00
fs Kbuild fixes for v6.9 2024-03-31 11:23:51 -07:00
include media: v4l: subdev: Add a function to lock two sub-device states, use it 2024-04-29 14:56:37 +02:00
init
io_uring
ipc
kernel Kbuild fixes for v6.9 2024-03-31 11:23:51 -07:00
lib
LICENSES
mm Kbuild fixes for v6.9 2024-03-31 11:23:51 -07:00
net
rust
samples
scripts Kbuild fixes for v6.9 2024-03-31 11:23:51 -07:00
security
sound
tools
usr
virt
.clang-format
.cocciconfig
.editorconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile Linux 6.9-rc2 2024-03-31 14:32:39 -07:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the reStructuredText markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.