From: Huang Shijie Date: Mon, 26 May 2014 07:31:14 +0000 (+0800) Subject: ARM: clk: imx: remove the CLK_SET_RATE_NO_REPARENT for imx_clk_mux_flags X-Git-Tag: next-20140604~98^2~1^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=44bb47258732dc63bce5d8abb9483fbac575c284;p=karo-tx-linux.git ARM: clk: imx: remove the CLK_SET_RATE_NO_REPARENT for imx_clk_mux_flags The clocks for Quadspi controller may be different when different NOR flashes are connected to the board. But the CLK_SET_RATE_NO_REPARENT flag in the current imx_clk_mux_flags makes the clock do not have the re-parent capability. This patch removes the CLK_SET_RATE_NO_REPARENT for imx_clk_mux_flags. It makes the Quadspi happy. Signed-off-by: Huang Shijie Signed-off-by: Shawn Guo --- diff --git a/arch/arm/mach-imx/clk.h b/arch/arm/mach-imx/clk.h index e29f6ebe9f39..32d6253b286f 100644 --- a/arch/arm/mach-imx/clk.h +++ b/arch/arm/mach-imx/clk.h @@ -108,8 +108,7 @@ static inline struct clk *imx_clk_mux_flags(const char *name, int num_parents, unsigned long flags) { return clk_register_mux(NULL, name, parents, num_parents, - flags | CLK_SET_RATE_NO_REPARENT, reg, shift, width, 0, - &imx_ccm_lock); + flags, reg, shift, width, 0, &imx_ccm_lock); } static inline struct clk *imx_clk_fixed_factor(const char *name,