Browse Source

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>
Hugues Fruchet 7 years ago
parent
commit
2a18115d43
1 changed files with 0 additions and 3 deletions
  1. 0 3
      drivers/media/platform/stm32/stm32-dcmi.c

+ 0 - 3
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;