[media] media: mx2_camera: Add image size HW limits
authorJavier Martin <javier.martin@vista-silicon.com>
Tue, 30 Oct 2012 14:29:00 +0000 (11:29 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 20 Dec 2012 16:38:03 +0000 (14:38 -0200)
commit6ec5575c381de50b17e68796435f20ce1b27de79
tree2e645ba0f89f9965a94f0cdce7b0092769b54479
parentb618b69c108b4fa792ff3dfe1ea95eeca7bc6af8
[media] media: mx2_camera: Add image size HW limits

The CSI on i.MX27 has some constraints regarding image width.
This patch makes sure those requirements are met in try_fmt().

Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
[g.liakhovetski@gmx.de: make constraint i.MX27-specific]
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/soc_camera/mx2_camera.c