diff options
| author | Xiaolei Wang <xiaolei.wang@windriver.com> | 2025-12-05 15:19:18 +0800 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-01-14 23:33:04 +0100 |
| commit | 973e42fd5d2b397bff34f0c249014902dbf65912 (patch) | |
| tree | ec78dac40010baeafeca28aad7eaf400f1c73649 /tools/lib/python/kdoc/parse_data_structs.py | |
| parent | ac9f4a5e49a0e276a951983cd2c9c050e2f63799 (diff) | |
| download | linux-973e42fd5d2b397bff34f0c249014902dbf65912.tar.gz linux-973e42fd5d2b397bff34f0c249014902dbf65912.zip | |
media: i2c: ov5647: use our own mutex for the ctrl lock
__v4l2_ctrl_handler_setup() and __v4l2_ctrl_modify_range() contains an
assertion to verify that the v4l2_ctrl_handler::lock is held, as it should
only be called when the lock has already been acquired. Therefore use our
own mutex for the ctrl lock, otherwise a warning will be reported.
Fixes: 4974c2f19fd8 ("media: ov5647: Support gain, exposure and AWB controls")
Cc: stable@vger.kernel.org
Signed-off-by: Xiaolei Wang <xiaolei.wang@windriver.com>
[Sakari Ailus: Fix a minor conflict.]
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
