Files
linux/drivers
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
..
2024-03-29 19:00:09 +01:00
2024-03-07 21:52:03 +00:00
2024-03-07 20:37:04 +00:00
2024-03-07 20:32:47 +00:00
2024-03-07 20:26:24 -08:00
2024-03-29 09:48:07 -04:00
2024-03-07 20:32:38 +00:00
2024-03-25 07:31:26 +01:00
2024-03-25 19:46:49 -07:00