[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)
commit6cc1eb70232a98731fdd385c98f2b694dc621726
tree51de96235630cb54d58e77f6c6b0ae8fd68020ec
parentd1a49eacd944308401ae0417692357dd181b665e
[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