summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Volmat <alain.volmat@foss.st.com>2026-01-06 12:34:36 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2026-03-11 01:05:33 +0100
commitfd239fef09d1ecc981fd50cf1ea3c476a002f944 (patch)
tree346b335753198a4c632ef6b131b364d2d2ab35ad
parent04e047447a05de495ac2a9cb96adf35bf1c0e0f8 (diff)
downloadlinux-fd239fef09d1ecc981fd50cf1ea3c476a002f944.tar.gz
linux-fd239fef09d1ecc981fd50cf1ea3c476a002f944.zip
media: stm32: dcmi: continuous mode capture in JPEG
Overall cleanup done allows to now have the JPEG handling done in the same way as other formats in continuous mode, allowing to achieve a faster framerate in all resolutions. Signed-off-by: Alain Volmat <alain.volmat@foss.st.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
-rw-r--r--drivers/media/platform/st/stm32/stm32-dcmi.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/platform/st/stm32/stm32-dcmi.c b/drivers/media/platform/st/stm32/stm32-dcmi.c
index 6ca0ffcd97a3..97683daf179d 100644
--- a/drivers/media/platform/st/stm32/stm32-dcmi.c
+++ b/drivers/media/platform/st/stm32/stm32-dcmi.c
@@ -717,10 +717,6 @@ static int dcmi_start_streaming(struct vb2_queue *vq, unsigned int count)
if (dcmi->do_crop)
dcmi_set_crop(dcmi);
- /* Enable jpeg capture */
- if (dcmi->sd_format->fourcc == V4L2_PIX_FMT_JPEG)
- reg_set(dcmi->regs, DCMI_CR, CR_CM);/* Snapshot mode */
-
/* Enable dcmi */
reg_set(dcmi->regs, DCMI_CR, CR_ENABLE);