media: stm32-dcmi: only enable IT frame on JPEG capture
authorHugues Fruchet <hugues.fruchet@st.com>
Mon, 24 Sep 2018 12:54:59 +0000 (08:54 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 4 Oct 2018 18:29:43 +0000 (14:29 -0400)
commitb88ff59e7996974dec7975a7beba1418b48bcabf
tree88cea2126422e156cfaa5baf3584af6168100e64
parent44d7f1a77d8c84f8e42789b5475b74ae0e6d4758
media: stm32-dcmi: only enable IT frame on JPEG capture

Only enable IT frame on JPEG capture, this saves some CPU
interruptions and processing on all the other cases.

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+samsung@kernel.org>
drivers/media/platform/stm32/stm32-dcmi.c