aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2013-03-08 03:33:35 -0500
committerNitin Garg <nitin.garg@freescale.com>2014-04-16 09:57:59 -0400
commita0a1533563bc16052c93936ec832e5796a63c613 (patch)
treefe1ba6cb2e976febbfc2c6d14cb292ce4fda6501
parentaaf181680f8180178ccac0b0871122b36cb006f0 (diff)
ENGR00243315-2 IPUv3 CSI:Remove test mode clock setting
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 482c30821d0aad0ab500a9d5db95654917986a3c)
-rw-r--r--drivers/mxc/ipu3/ipu_capture.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mxc/ipu3/ipu_capture.c b/drivers/mxc/ipu3/ipu_capture.c
index d2563a4f2928..b1d6fb3affd8 100644
--- a/drivers/mxc/ipu3/ipu_capture.c
+++ b/drivers/mxc/ipu3/ipu_capture.c
@@ -131,10 +131,6 @@ ipu_csi_init_interface(struct ipu_soc *ipu, uint16_t width, uint16_t height,
131 131
132 ipu_csi_write(ipu, csi, data, CSI_SENS_CONF); 132 ipu_csi_write(ipu, csi, data, CSI_SENS_CONF);
133 133
134 /* Setup the mclk */
135 if (cfg_param.mclk > 0)
136 _ipu_csi_mclk_set(ipu, cfg_param.mclk, csi);
137
138 /* Setup sensor frame size */ 134 /* Setup sensor frame size */
139 ipu_csi_write(ipu, csi, (width - 1) | (height - 1) << 16, CSI_SENS_FRM_SIZE); 135 ipu_csi_write(ipu, csi, (width - 1) | (height - 1) << 16, CSI_SENS_FRM_SIZE);
140 136