From: Guennadi Liakhovetski Date: Fri, 4 Nov 2011 18:13:18 +0000 (-0300) Subject: [media] mt9m111: properly implement .s_crop and .s_fmt(), reset on STREAMON X-Git-Tag: v3.3-rc1~48^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da673e603bb78ea26beaef5720017827aa26dae3;p=pandora-kernel.git [media] mt9m111: properly implement .s_crop and .s_fmt(), reset on STREAMON mt9m111 camera sensors support cropping and scaling. The current implementation is broken. For example, .s_crop() sets output frame sizes instead of the input cropping window. This patch adds a proper implementation of these methods. Besides it adds a sensor-disable and -enable operations on first open() and last close() respectively, to save power while closed and to return the camera to the default power-on state. Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed