diff options
author | 2022-07-18 14:12:19 +0200 | |
---|---|---|
committer | 2022-07-27 20:25:59 +0200 | |
commit | 21b1b6797fbe4fb5863c96f350359d0e982faddd (patch) | |
tree | 786ce7fccc989e60bc9ab9a46c20821f26e6ddb0 /scripts/generate_rust_analyzer.py | |
parent | media: Documentation: mc-core: Fix typo (diff) | |
download | wireguard-linux-21b1b6797fbe4fb5863c96f350359d0e982faddd.tar.xz wireguard-linux-21b1b6797fbe4fb5863c96f350359d0e982faddd.zip |
media: uvcvideo: Fix invalid pointer in uvc_ctrl_init_ctrl()
The handling of per-device mappings introduced in commit 86f7ef773156
("media: uvcvideo: Add support for per-device control mapping
overrides") overwrote the mapping variable after it was initialized and
before it was used, leading to usage of an invalid pointer for devices
with per-device mappings. Fix it.
Fixes: 86f7ef773156 ("media: uvcvideo: Add support for per-device control mapping overrides")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions