]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit491b6a9fe353592014ea5b4cf17fc6b22474468a
tree415b75d7ebc7f31b0eebb53e6565ca169d46dc49
parent0681a6b61928196a57adf2b4798b3d8110ca06aa
[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