diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2016-03-15 20:33:37 -0700 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-03-16 08:23:46 +0100 |
commit | f88e78572b820010dd825ee72286dda07c8ed1ef (patch) | |
tree | 7cd0d046c9c1dce49011bde6806e24ee1350d835 /arch | |
parent | 4249f24e2cbbbfd146f638f82fb3a3a942474513 (diff) | |
download | barebox-f88e78572b820010dd825ee72286dda07c8ed1ef.tar.gz barebox-f88e78572b820010dd825ee72286dda07c8ed1ef.tar.xz |
clk-imx6: Call clk_enable on mmdc_ch0_axi_podf
Call clk_enable on mmdc_ch0_axi_podf in order to properly increase
reference counters for all of the nodes in this particular clock
path. Otherwise it becomes possible for peripherals, located on other
branches stemming from "periph", to shut down the whole clock tree (up
to "pll2_bus") when they try to manage their own local clocks.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/clk-imx6.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/clk-imx6.c b/arch/arm/mach-imx/clk-imx6.c index daa58018a6..a634580c86 100644 --- a/arch/arm/mach-imx/clk-imx6.c +++ b/arch/arm/mach-imx/clk-imx6.c @@ -507,6 +507,7 @@ static int imx6_ccm_probe(struct device_d *dev) clk_data.clk_num = IMX6QDL_CLK_END; of_clk_add_provider(dev->device_node, of_clk_src_onecell_get, &clk_data); + clk_enable(clks[IMX6QDL_CLK_MMDC_CH0_AXI_PODF]); clk_enable(clks[IMX6QDL_CLK_PLL6_ENET]); clk_enable(clks[IMX6QDL_CLK_SATA_REF_100M]); clk_enable(clks[IMX6QDL_CLK_ENFC_PODF]); |