From 37d254b18fa6e3f2c146770297ddd7343e352421 Mon Sep 17 00:00:00 2001 From: Paul Walmsley Date: Mon, 3 Dec 2007 16:24:29 -0700 Subject: [PATCH] 24xx clock: Fix 54MHz APLL readiness test omap2_clk_fixed_enable() was checking the wrong bit to determine if the 54MHz APLL was ready, causing a "Clock apll54_ck didn't enable in 100000 tries" warning message on 2430SDP: Signed-off-by: Paul Walmsley Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/clock24xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/clock24xx.c b/arch/arm/mach-omap2/clock24xx.c index 975d35e38af..1053fc9d44d 100644 --- a/arch/arm/mach-omap2/clock24xx.c +++ b/arch/arm/mach-omap2/clock24xx.c @@ -115,7 +115,7 @@ static int omap2_clk_fixed_enable(struct clk *clk) if (clk == &apll96_ck) cval = OMAP24XX_ST_96M_APLL; else if (clk == &apll54_ck) - cval = OMAP24XX_ST_54M_CLK; + cval = OMAP24XX_ST_54M_APLL; omap2_wait_clock_ready(OMAP_CM_REGADDR(PLL_MOD, CM_IDLEST), cval, clk->name); -- 2.41.1