]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: stm32: dcmipp: bytecap: clear all interrupts upon stream stop
authorAlain Volmat <alain.volmat@foss.st.com>
Fri, 19 Dec 2025 14:30:35 +0000 (15:30 +0100)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Fri, 16 Jan 2026 13:08:52 +0000 (14:08 +0100)
commit222f1279edd9008ee35b62de156ddac84e31443c
treea15cb0f3e3e5ccbbb9e22d3c7357c2ded925476c
parent5152437f7610eb522fd233ab548a19d4601cbc2a
media: stm32: dcmipp: bytecap: clear all interrupts upon stream stop

Ensure that there are no pending interrupts after we have stopped the
pipeline. Indeed, it could happen that new interrupt has been generated
during the stop_streaming processing hence clear them in order to avoid
getting a new interrupt right from the start of a next start_streaming.

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: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-bytecap.c