]> git.baikalelectronics.ru Git - kernel.git/commit
media: vimc: add test_pattern and h/vflip controls to the sensor
authorHans Verkuil <hverkuil@xs4all.nl>
Mon, 6 Nov 2017 10:20:01 +0000 (05:20 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 8 Dec 2017 15:44:55 +0000 (10:44 -0500)
commit78bffc513e1eecde1192c446f856a67f61f555af
treed3db867af41176b73df079df2078f0418c1ba8f7
parent12768985b61665939c61f1cb3b3852c811f79810
media: vimc: add test_pattern and h/vflip controls to the sensor

Add support for the test_pattern control and the h/vflip controls.

This makes it possible to switch to more interesting test patterns and to
test control handling in v4l-subdevs.

There are more tpg-related controls that can be added, but this is a good
start.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
[hans.verkuil@cisco.com: fix small whitespace checkpatch warning]
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/vimc/vimc-common.h
drivers/media/platform/vimc/vimc-sensor.c