From: Guennadi Liakhovetski Date: Tue, 25 Aug 2009 14:46:42 +0000 (-0300) Subject: V4L/DVB (12517): mt9t031: improve rectangle placement in invalid S_CROP X-Git-Tag: v2.6.32-rc1~618^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e330919a215714796efb451984a753a46b570eb7;p=pandora-kernel.git V4L/DVB (12517): mt9t031: improve rectangle placement in invalid S_CROP 1. soc-camera always requests a valid rectangle, when calling .s_fmt(), no need to check and adjust 2. in .s_crop(), if the rectangle exceeds sensor limits, push it to the respective border instead of centering 3. take into account left and top borders when checking Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed