media: stm32-dcmi: remove redundant clear of interrupt flags
authorHugues Fruchet <hugues.fruchet@st.com>
Wed, 7 Feb 2018 17:35:35 +0000 (12:35 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 26 Feb 2018 15:28:50 +0000 (10:28 -0500)
It is already cleared in dcmi_irq_callback().

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 0993b55b8bd3c10cb691a2be230a05cee30804db..7deab02e23f6a36bb467bd0fc5717437079887b7 100644 (file)
@@ -385,8 +385,6 @@ static irqreturn_t dcmi_irq_thread(int irq, void *arg)
                dcmi->errors_count++;
                dmaengine_terminate_all(dcmi->dma_chan);
 
-               reg_set(dcmi->regs, DCMI_ICR, IT_FRAME | IT_OVR | IT_ERR);
-
                dev_dbg(dcmi->dev, "Restarting capture after DCMI error\n");
 
                if (dcmi_start_capture(dcmi)) {