]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: stm32: csi: simplify enable_streams error handling
authorAlain Volmat <alain.volmat@foss.st.com>
Mon, 13 Jan 2025 08:57:56 +0000 (09:57 +0100)
committerHans Verkuil <hverkuil@xs4all.nl>
Sat, 15 Feb 2025 14:22:49 +0000 (15:22 +0100)
commite0c2081221a201f350a89f291218687ee02ebc6a
treef6afe63ef15f7ef0b672ea67a306b5bf8891a541
parenta3a91b6e62be24c5df47a800c367504cb41e502b
media: stm32: csi: simplify enable_streams error handling

Put all error handling for VC stop and CSI stop together
to avoid duplication of code.

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@xs4all.nl>
drivers/media/platform/st/stm32/stm32-csi.c