MLK-12103 media: capture: ov5640_mipi: add more delay for camera to stay stable
authorRobby Cai <robby.cai@nxp.com>
Mon, 4 Jan 2016 09:20:02 +0000 (17:20 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:38 +0000 (14:49 -0500)
commitcc336f61f110ea00a35eeed04dcc345a820fee2c
treeba3f2e524b52c962c63d30b732a31cae6d010bf2
parent3ee2d273f4c0485571a5ce35c48ef4d36bd7d45b
MLK-12103 media: capture: ov5640_mipi: add more delay for camera to stay stable

For power saving, the camera is set ON/OFF by 'PWDN' pin.
However, the DQBUF timeout problems have been observed occasionally when
do the resolution switch for the camera. The reason could be that the power
for the camera is set to off then on when do the switch, but the delay time
is not enough for camera to go stable. The patch sets it to an empirical
value and it has passed over 3-day stress test.

Signed-off-by: Robby Cai <robby.cai@nxp.com>
drivers/media/platform/mxc/capture/ov5640_mipi.c