linux/drivers/media
Sakari Ailus a40eba9b26 media: v4l2-flash: Add sanity checks for flash and indicator controls
The V4L2 flash API supports combinations of indicator and flash LEDs. Due
to this, there's a fair amount of code that deals with all the possible
options and just reading one part of the file doesn't really tell which
combinations are really possible.

Make the checks more explicit to keep static analysers happy and to make
the code more resilient to future mishaps.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-08-04 14:43:51 +02:00
..
cec media: platform: stm32: unprepare clocks at handling errors in probe 2021-07-22 14:01:55 +02:00
common Merge branch 'akpm' (patches from Andrew) 2021-06-29 17:29:11 -07:00
dvb-core media: dvb-core: frontend: make GET/SET safer 2021-06-17 09:29:11 +02:00
dvb-frontends media: dvb-frontends: cx24117: Delete 'break' after 'goto' 2021-07-12 14:28:10 +02:00
firewire
i2c media: ccs: Implement support for manual LP control 2021-08-04 14:43:51 +02:00
mc media: mc-device.c: use DEVICE_ATTR_RO() helper macro 2021-08-04 14:43:50 +02:00
mmc
pci media: saa7164: remove redundant continue statement 2021-07-12 09:16:38 +02:00
platform media: omap3isp: Fix missing unlock in isp_subdev_notifier_complete() 2021-08-04 14:43:50 +02:00
radio media: radio: si4713: constify static struct v4l2_ioctl_ops 2021-06-02 13:26:11 +02:00
rc media: rc: introduce Meson IR TX driver 2021-08-04 14:43:49 +02:00
spi media: cxd2880-spi: Fix an error handling path 2021-07-12 14:27:47 +02:00
test-drivers media: vivid: increase max number of allowed 2021-07-12 09:16:36 +02:00
tuners media: m88rs6000t: avoid potential out-of-bounds reads on arrays 2021-03-22 17:41:39 +01:00
usb media: em28xx-input: fix refcount bug in em28xx_usb_disconnect 2021-08-04 14:43:49 +02:00
v4l2-core media: v4l2-flash: Add sanity checks for flash and indicator controls 2021-08-04 14:43:51 +02:00
Kconfig media: Correct 'so' 2021-03-22 11:52:09 +01:00
Makefile