diff options
author | Hugues Fruchet <hugues.fruchet@st.com> | 2018-02-07 12:35:34 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-02-26 10:28:32 -0500 |
commit | 2a18115d43b209cf8f6b9a4deb735c4786478625 (patch) | |
tree | 7e9e51f7a195c1e9ba9a5bf4d272eb7525d35700 /drivers/media/platform | |
parent | 7f43ff953f4009655a8b19a6f2fd1f665f4d7c2e (diff) |
media: stm32-dcmi: remove redundant capture enable
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>
Diffstat (limited to 'drivers/media/platform')
-rw-r--r-- | drivers/media/platform/stm32/stm32-dcmi.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/platform/stm32/stm32-dcmi.c b/drivers/media/platform/stm32/stm32-dcmi.c index 3319d9cb1b12..0993b55b8bd3 100644 --- a/drivers/media/platform/stm32/stm32-dcmi.c +++ b/drivers/media/platform/stm32/stm32-dcmi.c @@ -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; |