]> 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)
commit05a38d2f8c9e12740f76ed2da7998b3444d6d001
treed3db867af41176b73df079df2078f0418c1ba8f7
parent4636df7516b3e15994aef02efd05a9c7f500ddcd
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