]> git.baikalelectronics.ru Git - kernel.git/commit
[media] omap3isp: Fix histogram regions
authorJohannes Schellen <Johannes.Schellen@rwth-aachen.de>
Fri, 11 Jan 2013 15:00:19 +0000 (12:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Feb 2013 16:50:49 +0000 (14:50 -0200)
commit1be1504f7a164a35f464fa849e508e78042399fb
treede7986c22ed06dc2a7e14c27ecbe66d4ac986a91
parentdd09851bb3d673ba2968f33aafd2d13163936f00
[media] omap3isp: Fix histogram regions

This patch fixes a bug which causes all histogram regions to start in the
top left corner of the image. The histogram region coordinates are 16 bit
values which share a 32 bit register. The bug is due to the region end
value assignments overwriting the region start values with zero.

Signed-off-by: Johannes Schellen <Johannes.Schellen@rwth-aachen.de>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/omap3isp/isphist.c