clk: imx6sx: Do not reparent to unregistered IMX6SX_CLK_AXI
authorAbel Vesa <abel.vesa@nxp.com>
Wed, 29 May 2019 12:26:39 +0000 (12:26 +0000)
committerShawn Guo <shawnguo@kernel.org>
Fri, 7 Jun 2019 00:36:12 +0000 (08:36 +0800)
The clock IMX6SX_CLK_AXI is not registered at all.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-imx6sx.c

index d8c96d5..a7aa0f2 100644 (file)
@@ -509,8 +509,6 @@ static void __init imx6sx_clocks_init(struct device_node *ccm_node)
        /* Set the parent clks of PCIe lvds1 and pcie_axi to be pcie ref, axi */
        if (clk_set_parent(clks[IMX6SX_CLK_LVDS1_SEL], clks[IMX6SX_CLK_PCIE_REF_125M]))
                pr_err("Failed to set pcie bus parent clk.\n");
-       if (clk_set_parent(clks[IMX6SX_CLK_PCIE_AXI_SEL], clks[IMX6SX_CLK_AXI]))
-               pr_err("Failed to set pcie parent clk.\n");
 
        /*
         * Init enet system AHB clock, set to 200MHz