summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiu Ying <Ying.liu@freescale.com>2012-07-24 18:10:23 +0800
committerLiu Ying <Ying.liu@freescale.com>2012-07-25 16:03:30 +0800
commite65fb60817f2d667aa11cf219bd123b2fa4de803 (patch)
tree1dbf1a49d4c446415bb7fd105bcd0c0c761a96be
parentead6561b45ac232ae8003163f328634650638c96 (diff)
ENGR00182061-4 MXC v4l2 capture:Remove inappropriate msleep code
msleep() after camera power down should not be called in mxc v4l2 capture core code. Instead, this should be handled by camera power down function. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
-rw-r--r--drivers/media/video/mxc/capture/mxc_v4l2_capture.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/mxc/capture/mxc_v4l2_capture.c b/drivers/media/video/mxc/capture/mxc_v4l2_capture.c
index e8643ab72007..ab41d9ca63db 100644
--- a/drivers/media/video/mxc/capture/mxc_v4l2_capture.c
+++ b/drivers/media/video/mxc/capture/mxc_v4l2_capture.c
@@ -1681,7 +1681,6 @@ static int mxc_v4l_open(struct file *file)
ipu_csi_enable_mclk_if(cam->ipu, CSI_MCLK_I2C, cam->mclk_source,
true, true);
vidioc_int_s_power(cam->sensor, 1);
- msleep(1);
vidioc_int_init(cam->sensor);
vidioc_int_dev_init(cam->sensor);
}