summaryrefslogtreecommitdiffstats
path: root/tools/lib/python/kdoc/parse_data_structs.py
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2025-11-27 14:14:22 +0200
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-01-13 12:47:56 +0100
commit779bdaad2abf718fb8116839e818e58852874b4d (patch)
treee337c46a6058759d180307893eb1333643b2893c /tools/lib/python/kdoc/parse_data_structs.py
parent98cc19a353abc8b48b7d58fd7a455e09e7c3aba3 (diff)
downloadlinux-779bdaad2abf718fb8116839e818e58852874b4d.tar.gz
linux-779bdaad2abf718fb8116839e818e58852874b4d.zip
media: ipu6: Ensure stream_mutex is acquired when dealing with node list
The ipu6 isys driver maintains the list of video buffer queues related to a stream (in ipu6 context streams on the same CSI-2 virtual channel) and this list is modified through VIDIOC_STREAMON and VIDIOC_STREAMOFF IOCTLs. Ensure the common mutex is acquired when accessing the linked list, i.e. the isys device context's stream_mutex. Add a lockdep assert to ipu6_isys_get_buffer_list() and switch to guard() while at it as the error handling becomes more simple this way. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions