From: Laurent Pinchart Date: Wed, 21 Mar 2012 11:03:28 +0000 (-0300) Subject: [media] soc-camera: Support user-configurable line stride X-Git-Tag: v3.5-rc1~104^2~108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=914f05c8118e17d65c4626ae3ed2edcf79f00031;p=pandora-kernel.git [media] soc-camera: Support user-configurable line stride Add a capabilities field to the soc_camera_host structure to flag hosts that support user-configurable line strides. soc_camera_try_fmt() then passes the user-provided bytesperline and sizeimage format fields to such hosts, and expects the host to check (and fix if needed) the values. Signed-off-by: Laurent Pinchart [g.liakhovetski@gmx.de: fix a typo in mx2_camera.c] Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed