diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-11-04 15:13:18 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-01-06 11:00:40 -0200 |
commit | da673e603bb78ea26beaef5720017827aa26dae3 (patch) | |
tree | 73b7d7ca8678f8357da923e710f0f63102fb752a /drivers/edac/amd8111_edac.c | |
parent | a650bf1eff31d9719b51f33716617692a17b6794 (diff) | |
download | op-kernel-dev-da673e603bb78ea26beaef5720017827aa26dae3.zip op-kernel-dev-da673e603bb78ea26beaef5720017827aa26dae3.tar.gz |
[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 <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac/amd8111_edac.c')
0 files changed, 0 insertions, 0 deletions