]> git.baikalelectronics.ru Git - kernel.git/commit
[media] mt9v022: add v4l2 controls for blanking
authorAnatolij Gustschin <agust@denx.de>
Thu, 27 Sep 2012 22:03:45 +0000 (19:03 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 22 Nov 2012 13:35:45 +0000 (11:35 -0200)
commit7d863b63f63feff59dc0060a1c8eb0dcbfa185c7
tree51de96235630cb54d58e77f6c6b0ae8fd68020ec
parent7c607479d95ab7478dffbbec7c175cb94f0736c6
[media] mt9v022: add v4l2 controls for blanking

Add controls for horizontal and vertical blanking. Also add an error
message for case that the control handler init failed. Since setting
the blanking registers is done by controls now, we shouldn't change
these registers outside of the control function. Use v4l2_ctrl_s_ctrl()
to set them.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/soc_camera/mt9v022.c