]> git.karo-electronics.de Git - linux-beck.git/commit
[media] ov772x: Compute window size registers at runtime
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 18 Jul 2012 13:58:25 +0000 (10:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 15 Aug 2012 20:12:23 +0000 (17:12 -0300)
commit4ead963009f295dc8589720d22fa4fb288be9edb
treebe89c14f39f93827a002a79a40e62fcdab9b39d3
parentf223d5b7184a743bf2b724698f7a84a963638bb6
[media] ov772x: Compute window size registers at runtime

Instead of hardcoding register arrays, compute the values at runtime.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
[g.liakhovetski@gmx.de: keep (Q)VGA_* macros for now]
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/soc_camera/ov772x.c