summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2015-07-22 23:26:20 +0800
committerAnson Huang <b20788@freescale.com>2015-07-24 00:05:33 +0800
commit96ae4cca79ac4997b3a9db80ff87ac9f86c131fa (patch)
treeff624db9f8edd57eb9cd515c8100fcec9b1c75b4
parentec775a455f9e75850e075398f1d4d943acd3d9c7 (diff)
MLK-11276-4 ARM: imx: correct code comments for imx6ul clk
In i.MX6UL clk driver code, some comments are incorrect and some are NOT needed now, improve them. Signed-off-by: Anson Huang <b20788@freescale.com>
-rw-r--r--arch/arm/mach-imx/clk-imx6ul.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/clk-imx6ul.c b/arch/arm/mach-imx/clk-imx6ul.c
index 52b2962616f5..7bd0a603ff3c 100644
--- a/arch/arm/mach-imx/clk-imx6ul.c
+++ b/arch/arm/mach-imx/clk-imx6ul.c
@@ -416,7 +416,7 @@ static void __init imx6ul_clocks_init(struct device_node *ccm_node)
/* set perclk to from OSC */
imx_clk_set_parent(clks[IMX6UL_CLK_PERCLK_SEL], clks[IMX6UL_CLK_OSC]);
- /* Set the UART parent iif needed */
+ /* Set the UART parent if needed */
if (uart_from_osc)
imx_clk_set_parent(clks[IMX6UL_CLK_UART_SEL], clks[IMX6UL_CLK_OSC]);
else
@@ -426,7 +426,6 @@ static void __init imx6ul_clocks_init(struct device_node *ccm_node)
imx_clk_set_rate(clks[IMX6UL_CLK_ENET2_REF], 50000000);
imx_clk_set_rate(clks[IMX6UL_CLK_CSI], 24000000);
- /* keep all the clks on just for bringup */
for (i = 0; i < ARRAY_SIZE(clks_init_on); i++)
imx_clk_prepare_enable(clks[clks_init_on[i]]);