linux_dsm_epyc7002/drivers/media
Hans Verkuil 7c3bae3f43 media: v4l2-ctrls: v4l2_ctrl_g/s_ctrl*(): don't continue when WARN_ON
If the v4l2_ctrl_g_ctrl*() or __v4l2_ctrl_s_ctrl*() functions
are called for the wrong control type then they call WARN_ON
since that is a driver error. But they still continue, potentially
overwriting data. Change this to return an error (s_ctrl) or 0
(g_ctrl), just to be safe.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-04-21 16:54:32 +02:00
..
cec media: cec/usb: depends on USB_SUPPORT and TTY 2020-04-17 09:04:55 +02:00
common media: dvb-usb: auto-select CYPRESS_FIRMWARE 2020-04-14 10:29:04 +02:00
dvb-core media: Kconfig: move DVB-specific options to dvb-core/Kconfig 2020-04-14 10:29:05 +02:00
dvb-frontends media: lgdt3306a: Add CNR v5 stat 2020-04-21 16:50:56 +02:00
firewire media: Kconfig: mode firewire comment to firewire/Kconfig 2020-04-14 10:29:04 +02:00
i2c media: cx25840: Register labeling, chip specific correction 2020-04-21 16:51:27 +02:00
mc media: mc/Kconfig: remove staging dependency for request API 2020-04-17 08:57:39 +02:00
mmc media: Kconfig: move comment to siano include 2020-04-14 10:29:04 +02:00
pci media: cx23885: Add i2c device analog tuner support 2020-04-21 16:49:21 +02:00
platform media: platform: fcp: Set appropriate DMA parameters 2020-04-21 13:33:50 +02:00
radio media: radio: don't use a menu just for wl128x driver 2020-04-16 10:34:57 +02:00
rc media: iguanair: rc drivers no longer need to do locking 2020-04-21 16:51:49 +02:00
spi media: i2c/Kconfig: use sub-menus for I2C support 2020-04-16 10:34:40 +02:00
test-drivers media: vicodec: Fix error codes in probe function 2020-04-21 13:31:26 +02:00
tuners media: si2157: add on-demand rf strength func 2020-04-21 16:50:35 +02:00
usb media: cx231xx: Add i2c device analog tuner support 2020-04-21 16:50:05 +02:00
v4l2-core media: v4l2-ctrls: v4l2_ctrl_g/s_ctrl*(): don't continue when WARN_ON 2020-04-21 16:54:32 +02:00
Kconfig media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00