]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00182061-4 MXC v4l2 capture:Remove inappropriate msleep code
authorLiu Ying <Ying.liu@freescale.com>
Tue, 24 Jul 2012 10:10:23 +0000 (18:10 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:12:30 +0000 (14:12 +0200)
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>
drivers/media/video/mxc/capture/mxc_v4l2_capture.c

index e8643ab72007c78bf7ce2474b7f2724d75780961..ab41d9ca63db9672f2f7ec6ade52797e680fdfce 100644 (file)
@@ -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);
        }