diff options
| author | Sakari Ailus <[email protected]> | 2023-09-06 10:56:14 +0300 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2024-04-29 14:56:37 +0200 |
| commit | 72364b91ce022ded4aa541c62f51c10a65fb3498 (patch) | |
| tree | 262064afa3318bf285b45f611c7b73e7c51c4530 /tools/perf/scripts/python/stackcollapse.py | |
| parent | cd2c75454d74f275adcda2409569c13fd037eca9 (diff) | |
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 <[email protected]>
Reviewed-by: Julien Massot <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions