[media] smiapp: Implement the test pattern control
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 21 May 2014 19:58:11 +0000 (16:58 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 21 Aug 2014 20:25:12 +0000 (15:25 -0500)
commit0e2a6b7f2b9303410c93fd4724f9d36ebc7be1c3
tree2478a1c79892546a62a6c94566cce319295e5f08
parenta913d8742e275dd2d80726afac02311a0f49d161
[media] smiapp: Implement the test pattern control

Add support for the V4L2_CID_TEST_PATTERN control. When the solid colour
mode is selected, additional controls become available for setting the
solid four solid colour components.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/smiapp/smiapp-core.c
drivers/media/i2c/smiapp/smiapp.h