media: stm32-dcmi: remove redundant capture enable
authorHugues Fruchet <hugues.fruchet@st.com>
Wed, 7 Feb 2018 17:35:34 +0000 (12:35 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 26 Feb 2018 15:28:32 +0000 (10:28 -0500)
Remove redundant capture enable already done
in dcmi_start_capture().

Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/stm32/stm32-dcmi.c

index 3319d9cb1b12801a96b12f8d70f9d3ecba361dd8..0993b55b8bd3c10cb691a2be230a05cee30804db 100644 (file)
@@ -255,9 +255,6 @@ static void dcmi_dma_callback(void *param)
                                spin_unlock(&dcmi->irqlock);
                                return;
                        }
-
-                       /* Enable capture */
-                       reg_set(dcmi->regs, DCMI_CR, CR_CAPTURE);
                }
 
                break;