Skip to content

Commit

Permalink
clk: imx6sx: Do not reparent to unregistered IMX6SX_CLK_AXI
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Abel Vesa authored and Shawn Guo committed Jun 7, 2019
1 parent a4a4069 commit fa75747
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/clk/imx/clk-imx6sx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fa75747

Please sign in to comment.