media: stm32-dcmi: add g/s_parm framerate support
authorHugues Fruchet <hugues.fruchet@st.com>
Thu, 8 Feb 2018 11:00:45 +0000 (06:00 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 26 Feb 2018 15:30:44 +0000 (10:30 -0500)
commitaebd90aa3244e3539001919dcfbf00027d5ab63c
treebc326cbac715580b5b5f1f6e95e97cb071e164cc
parente0019f71011dff4228175d1e30c1ba7fd6da41de
media: stm32-dcmi: add g/s_parm framerate support

Add g/s_parm framerate support by calling subdev
g/s_frame_interval ops.
This allows user to control sensor framerate by
calling ioctl G/S_PARM.

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>
drivers/media/platform/stm32/stm32-dcmi.c