]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit36a8f8924a1abb32f3dfaccec19e135c232930d3
tree88cea2126422e156cfaa5baf3584af6168100e64
parent7027d9c750eabd4004929fb06116614443b78be5
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