diff options
| author | Brandon Brnich <b-brnich@ti.com> | 2026-04-02 13:45:54 -0500 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-05-04 09:31:04 +0200 |
| commit | 7d5d364f8b2dcc9b6b92456fb55632fde4a4d96f (patch) | |
| tree | 6fc3931b7b9081f1a63e5210d473ba78ea276562 /tools/lib/python | |
| parent | 7cdbd7bb21949a8fda10c7104a2b12ee363cbf5c (diff) | |
media: chips-media: wave5: Fix Reports from Kernel Lock Validator
handle_dynamic_resolution change requires that the state_lock be acquired
based on the lockdep_assert_held. However, the
handle_dynamic_resolution_change call in initialize_sequence does not
properly obtain the lock before calling.
Since the v4l2_ctrl_find and s_ctrl can sleep, they should not be called
while a lock is already held. Store off the fbc_buf_count then properly
update control once lock has been freed.
Signed-off-by: Brandon Brnich <b-brnich@ti.com>
Tested-by: Jackson Lee <jackson.lee@chipsnmedia.com>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
