On 6/12/2011 8:21 PM, He, Yong M wrote:
From: Yong He <[email protected] <mailto:[email protected]>>
Subject: [PATCH] MRST Tablet camera driver ver-0.95 (re-send), fix 8112
Bug 8112 <https://bugzilla.otcshare.org/show_bug.cgi?id=8112> *- ISP
driver doesn't support AF (auto-focus) controlling function for 5M
camera sensor (OV5640).*
sorry for sending this BIG patch,,,
AF is a new added feature, and it require sensor’s firmware update
(every time from wakeup).
also, AF function need to work with exposure and gain settings
algorithm when switched from PREVIEW mode to SNAPSHOT mode, so this
patch added this algorithm.
Signed-off-by: He, Yong <[email protected]
<mailto:[email protected]>>
---
Index: a/drivers/staging/mrstci/mrstisp/mrstisp_main.c
===================================================================
--- a/drivers/staging/mrstci/mrstisp/mrstisp_main.c (revision 90)
+++ a/drivers/staging/mrstci/mrstisp/mrstisp_main.c (revision 91)
@@ -1409,8 +1409,8 @@
ci_isp_stop(CI_ISP_CFG_UPDATE_FRAME_SYNC);
v4l2_subdev_call(isp->cameras[isp->sensor_curr].camera, video,
s_stream, 0);
}
- //v4l2_subdev_call(isp->cameras[isp->sensor_curr].camera, core,
s_gpio, 1);
- mrst_isp_power_off_all_subdev(isp);
+ // do not power off sensor when user close file, unless user
directly call suspend
+ // mrst_isp_power_off_all_subdev(isp);
}
kfree(file->private_data);
@@ -2245,6 +2245,16 @@
this sounds like a really bad idea, just like it originally was a really
bad idea...
please don't do this.
_______________________________________________
MeeGo-kernel mailing list
[email protected]
http://lists.meego.com/listinfo/meego-kernel