]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ENGR00243315-2 IPUv3 CSI:Remove test mode clock setting
authorLiu Ying <Ying.Liu@freescale.com>
Fri, 8 Mar 2013 08:33:35 +0000 (16:33 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 20 Aug 2014 08:06:56 +0000 (10:06 +0200)
This patch removes test mode clock setting in function
ipu_csi_init_interface(), since the setting is only
necessary for function _ipu_csi_set_test_generator().
This unnecessary setting is added wrongly by commit
f8e1a3bb62eecf93a31a51c4dbe08a0214fa1d57.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit 0f395a7aecfd2845df384c7a5a0045c86c3a2e20)

drivers/mxc/ipu3/ipu_capture.c

index d2563a4f292898ee745e67dfec9b028f69e63c49..b1d6fb3affd80e751c14c49330ae324c58ebfa46 100644 (file)
@@ -131,10 +131,6 @@ ipu_csi_init_interface(struct ipu_soc *ipu, uint16_t width, uint16_t height,
 
        ipu_csi_write(ipu, csi, data, CSI_SENS_CONF);
 
-       /* Setup the mclk */
-       if (cfg_param.mclk > 0)
-               _ipu_csi_mclk_set(ipu, cfg_param.mclk, csi);
-
        /* Setup sensor frame size */
        ipu_csi_write(ipu, csi, (width - 1) | (height - 1) << 16, CSI_SENS_FRM_SIZE);