summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSandor Yu <Sandor.yu@nxp.com>2016-06-13 14:36:08 +0800
committerSandor Yu <Sandor.yu@nxp.com>2016-06-13 14:59:57 +0800
commitc1d7c35b6d2c8b6ec69b90bac6febf673d04acc5 (patch)
treec2ac915b7528ccdb70d5cec072b2ada1c932773f /drivers
parentbbe0e5aa26d71c5c9a6271b1d4af5b14da58d740 (diff)
MLK-12898: ov5640 mipi: Add more delay to wait sensor stable
Add more delay to wait sensor stable. Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/platform/mxc/subdev/ov5640_mipi.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/media/platform/mxc/subdev/ov5640_mipi.c b/drivers/media/platform/mxc/subdev/ov5640_mipi.c
index ca9156d2c594..739a24c7d426 100644
--- a/drivers/media/platform/mxc/subdev/ov5640_mipi.c
+++ b/drivers/media/platform/mxc/subdev/ov5640_mipi.c
@@ -1106,12 +1106,9 @@ static int ov5640_init_mode(enum ov5640_frame_rate frame_rate,
/* dump the first two frames: 1/7.5*2
* the frame rate of QSXGA is 7.5fps */
msec_wait4stable = 267;
- } else if (frame_rate == ov5640_15_fps) {
- /* dump the first nine frames: 1/15*9 */
+ } else {
+ /* dump the first eighteen frames: 1/30*18 */
msec_wait4stable = 600;
- } else if (frame_rate == ov5640_30_fps) {
- /* dump the first nine frames: 1/30*9 */
- msec_wait4stable = 300;
}
msleep(msec_wait4stable);