10000 MLK-12898: ov5640 mipi: Add more delay to wait sensor stable · codebug8/linux-imx@c1d7c35 · GitHub
[go: up one dir, main page]

Skip to content

Commit c1d7c35

Browse files
committed
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>
1 parent bbe0e5a commit c1d7c35

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

drivers/media/platform/mxc/subdev/ov5640_mipi.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,12 +1106,9 @@ static int ov5640_init_mode(enum ov5640_frame_rate frame_rate,
11061106
/* dump the first two frames: 1/7.5*2
11071107
* the frame rate of QSXGA is 7.5fps */
11081108
msec_wait4stable = 267;
1109-
} else if (frame_rate == ov5640_15_fps) {
1110-
/* dump the first nine frames: 1/15*9 */
1109+
} else {
1110+
/* dump the first eighteen frames: 1/30*18 */
11111111
msec_wait4stable = 600;
1112-
} else if (frame_rate == ov5640_30_fps) {
1113-
/* dump the first nine frames: 1/30*9 */
1114-
msec_wait4stable = 300;
11151112
}
11161113
msleep(msec_wait4stable);
11171114

0 commit comments

Comments
 (0)
0