diff options
author | Alain Volmat <alain.volmat@foss.st.com> | 2024-07-03 13:59:16 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-07-03 15:52:24 +0200 |
commit | a7351f0d3668b449fdc2cfd90403b1cb1f03ed6d (patch) | |
tree | ffefca530a1282f6f8f3236d65c976cb399f38f9 /include/uapi | |
parent | 5d5f67b3b23f42eafdba508d6075fa714cbe2ed2 (diff) | |
download | lwn-a7351f0d3668b449fdc2cfd90403b1cb1f03ed6d.tar.gz lwn-a7351f0d3668b449fdc2cfd90403b1cb1f03ed6d.zip |
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: 28e0f3772296 ("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].]
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions