aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbel Vesa <abel.vesa@nxp.com>2019-05-29 12:26:39 +0000
committerShawn Guo <shawnguo@kernel.org>2019-06-07 08:36:12 +0800
commitfa7574740cdfef5b4d65a48bab04cef5637827f8 (patch)
tree360af6afcf116b47f0cab7756cc27e257961aa8d
parentclk: imx: Add imx_obtain_fixed_clock clk_hw based variant (diff)
downloadlinux-dev-fa7574740cdfef5b4d65a48bab04cef5637827f8.tar.xz
linux-dev-fa7574740cdfef5b4d65a48bab04cef5637827f8.zip
clk: imx6sx: Do not reparent to unregistered IMX6SX_CLK_AXI
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>
-rw-r--r--drivers/clk/imx/clk-imx6sx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/clk/imx/clk-imx6sx.c b/drivers/clk/imx/clk-imx6sx.c
index d8c96d5cb9eb..a7aa0f24bbac 100644
--- a/drivers/clk/imx/clk-imx6sx.c
+++ b/drivers/clk/imx/clk-imx6sx.c
@@ -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