linux-stable/drivers/media/usb
Laurent Pinchart 21b1b6797f media: uvcvideo: Fix invalid pointer in uvc_ctrl_init_ctrl()
The handling of per-device mappings introduced in commit 86f7ef7731
("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: 86f7ef7731 ("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>
2022-07-27 20:25:59 +02:00
..
airspy media: airspy: respect the DMA coherency rules 2022-06-20 10:30:34 +01:00
as102
au0828 media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
b2c2 media: b2c2-flexcop-usb: fix some whitespace coding style 2021-12-14 16:19:04 +01:00
cpia2 media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
cx231xx media: cx231xx/cx231xx.h: Remove repeated struct declaration 2021-04-06 16:10:19 +02:00
dvb-usb media: dvb-usb: dib0700_devices: use an enum for the device number 2022-04-18 07:36:44 +02:00
dvb-usb-v2 media: media/*/Kconfig: sort entries 2022-03-18 05:58:35 +01:00
em28xx media: em28xx: Remove useless license text when SPDX-License-Identifier is already used 2022-06-27 08:56:29 +01:00
go7007 media: usb: go7007: s2250-board: fix leak in probe() 2022-02-22 09:41:12 +01:00
gspca media: gspca: drop unexpected word 'is' in the comments 2022-07-08 14:46:08 +01:00
hackrf media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
hdpvr media: hdpvr: fix error value returns in hdpvr_read 2022-06-27 09:02:50 +01:00
msi2500 media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
pvrusb2 media: pvrusb2: drop unexpected word 'a' in comments 2022-07-08 14:47:21 +01:00
pwc media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
s2255 media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
siano media: siano: remove duplicate USB device IDs 2021-12-07 11:29:58 +01:00
stk1160 media: stk1160: use dma_alloc_noncontiguous API 2022-03-07 11:01:22 +01:00
tm6000 media: remove third argument of usb_maxpacket() 2022-04-23 10:33:53 +02:00
ttusb-budget
ttusb-dec media: ttusb-dec: avoid release of non-acquired mutex 2021-09-30 10:07:40 +02:00
usbtv media: usbtv: Add PAL-Nc standard 2022-06-20 10:30:30 +01:00
uvc media: uvcvideo: Fix invalid pointer in uvc_ctrl_init_ctrl() 2022-07-27 20:25:59 +02:00
zr364xx media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
Kconfig media: stkwebcam: deprecate driver, move to staging 2022-06-20 10:30:31 +01:00
Makefile media: stkwebcam: deprecate driver, move to staging 2022-06-20 10:30:31 +01:00