linux/drivers/media
Alain Volmat a7351f0d36 media: stm32: dcmipp: correct error handling in dcmipp_create_subdevs
Correct error handling within the dcmipp_create_subdevs by properly
decrementing the i counter when releasing the subdevs.

Fixes: 28e0f37722 ("media: stm32-dcmipp: STM32 DCMIPP camera interface driver")
Cc: stable@vger.kernel.org
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
[hverkuil: correct the indices: it's [i], not [i - 1].]
2024-07-03 15:52:24 +02:00
..
cec Mainly singleton patches, documented in their respective changelogs. 2024-05-19 14:02:03 -07:00
common media: videobuf2: add missing MODULE_DESCRIPTION() macro 2024-06-29 12:20:05 +02:00
dvb-core media: dvbdev: Initialize sbuf 2024-04-08 13:48:19 +02:00
dvb-frontends media: dvb-frontends: add missing MODULE_DESCRIPTION() macros 2024-06-29 12:20:04 +02:00
firewire media: firewire: firedtv-avc.c: replace BUG with proper, error return 2023-08-10 07:58:37 +02:00
i2c media: uda1342: add missing MODULE_DESCRIPTION() macro 2024-06-29 12:20:04 +02:00
mc media: mc: mark the media devnode as registered from the, start 2024-04-22 11:41:04 +02:00
mmc media: mmc: siano: simplify module initialization 2024-04-08 13:48:19 +02:00
pci media: Convert from tasklet to BH workqueue 2024-06-21 08:57:09 +02:00
platform media: stm32: dcmipp: correct error handling in dcmipp_create_subdevs 2024-07-03 15:52:24 +02:00
radio media: Convert from tasklet to BH workqueue 2024-06-21 08:57:09 +02:00
rc media: rc: add keymap for MyGica UTV3 remote 2024-06-29 12:20:05 +02:00
spi media: gs1662: remove unused struct 'gs_reg_fmt_custom' 2024-05-31 13:51:16 +02:00
test-drivers media: vivid: loopback based on 'Connected To' controls 2024-06-28 08:00:29 +02:00
tuners media: tuner-simple: Add support for Tena TNF931D-DFDR1 2024-06-29 12:20:05 +02:00
usb media: em28xx: Set GPIOs for non-audio boards when switching input 2024-06-29 12:20:05 +02:00
v4l2-core media: uapi: Add PiSP Compressed RAW Bayer formats 2024-06-27 13:06:47 +02:00
Kconfig
Makefile