media: camss: Take in account sensor skip frames
authorTodor Tomov <todor.tomov@linaro.org>
Tue, 13 Nov 2018 14:03:07 +0000 (09:03 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 3 Dec 2018 19:27:17 +0000 (14:27 -0500)
commit25f5c34bc8bfabc7406d7c88b73cdf05023d31f7
treefd22a5fae8f25f254942ff5df9ffd307260bea03
parent9483a3f8e1b58ba1d7cd21687d8d0a63a015c36b
media: camss: Take in account sensor skip frames

When streaming is starting ask the sensor for its skip frames value.
Max supported frame skip is 29 frames, so clip it if it is higher.

Signed-off-by: Todor Tomov <todor.tomov@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/qcom/camss/camss-vfe.c
drivers/media/platform/qcom/camss/camss.c
drivers/media/platform/qcom/camss/camss.h