[media] mt9v032: Fix binning configuration
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 2 Dec 2013 19:39:18 +0000 (16:39 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 11 Dec 2013 11:14:39 +0000 (09:14 -0200)
commit637f005e455739c8128dadb73dfbe67a4db26f45
tree8bba8634bc0108fddcaae42f08d93fea32c3c92f
parent2b9e9f779cb29f25102d4e7f14df557ead58e659
[media] mt9v032: Fix binning configuration

The sensor can scale the image down using binning by 1, 2 or 4 in both
directions. Update size enumeration and ratio and binning factor
computation accordingly.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/mt9v032.c