diff options
author | Hugues Fruchet <hugues.fruchet@st.com> | 2018-02-07 12:35:35 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-02-26 10:28:50 -0500 |
commit | ffb1bdc225d125e41f548fa268ca1a687ec4cecc (patch) | |
tree | a6995952d3dc4546b990748362cdd36157595b72 /drivers/media | |
parent | 2a18115d43b209cf8f6b9a4deb735c4786478625 (diff) | |
download | op-kernel-dev-ffb1bdc225d125e41f548fa268ca1a687ec4cecc.zip op-kernel-dev-ffb1bdc225d125e41f548fa268ca1a687ec4cecc.tar.gz |
media: stm32-dcmi: remove redundant clear of interrupt flags
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>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/platform/stm32/stm32-dcmi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/platform/stm32/stm32-dcmi.c b/drivers/media/platform/stm32/stm32-dcmi.c index 0993b55..7deab02 100644 --- a/drivers/media/platform/stm32/stm32-dcmi.c +++ b/drivers/media/platform/stm32/stm32-dcmi.c @@ -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)) { |