[media] mt9p031: Fix horizontal and vertical blanking configuration
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 23 May 2012 09:51:55 +0000 (06:51 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 13 Sep 2012 19:29:49 +0000 (16:29 -0300)
commit5266c98b15e682694e4d79590d39416ad3bde687
tree415b75d7ebc7f31b0eebb53e6565ca169d46dc49
parent9ec670e2aad515bbb36c020a6ebdc707ace4f24d
[media] mt9p031: Fix horizontal and vertical blanking configuration

Compute the horizontal blanking value according to the datasheet. The
value written to the hblank and vblank registers must be equal to the
number of blank columns and rows minus one.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/mt9p031.c