aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/clk.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-imx/clk.h')
-rw-r--r--arch/arm/mach-imx/clk.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/clk.h b/arch/arm/mach-imx/clk.h
index 0e4e8bb261b9..c8575fb7f717 100644
--- a/arch/arm/mach-imx/clk.h
+++ b/arch/arm/mach-imx/clk.h
@@ -79,7 +79,8 @@ static inline struct clk *imx_clk_gate(const char *name, const char *parent,
79static inline struct clk *imx_clk_mux(const char *name, void __iomem *reg, 79static inline struct clk *imx_clk_mux(const char *name, void __iomem *reg,
80 u8 shift, u8 width, const char **parents, int num_parents) 80 u8 shift, u8 width, const char **parents, int num_parents)
81{ 81{
82 return clk_register_mux(NULL, name, parents, num_parents, 0, reg, shift, 82 return clk_register_mux(NULL, name, parents, num_parents,
83 CLK_SET_RATE_NO_REPARENT, reg, shift,
83 width, 0, &imx_ccm_lock); 84 width, 0, &imx_ccm_lock);
84} 85}
85 86
@@ -88,7 +89,7 @@ static inline struct clk *imx_clk_mux_flags(const char *name,
88 int num_parents, unsigned long flags) 89 int num_parents, unsigned long flags)
89{ 90{
90 return clk_register_mux(NULL, name, parents, num_parents, 91 return clk_register_mux(NULL, name, parents, num_parents,
91 flags, reg, shift, width, 0, 92 flags | CLK_SET_RATE_NO_REPARENT, reg, shift, width, 0,
92 &imx_ccm_lock); 93 &imx_ccm_lock);
93} 94}
94 95