[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)
commit58bc8b7e380554d2d32f8d7f776a019cefc8afbf
treede7986c22ed06dc2a7e14c27ecbe66d4ac986a91
parentcf2b4cf661bd183791ebc0a7ab091de77a1748b0
[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