From: Paul Walmsley Date: Thu, 25 Sep 2008 14:08:20 +0000 (-0600) Subject: OMAP3 clock: fix dss1_alwon_fck X-Git-Tag: v2.6.27-omap1~93 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e9ea612457bbf244d1a6fc38b08453d5a4ec7bf6;p=linux-2.6-omap-h63xx.git OMAP3 clock: fix dss1_alwon_fck Commit a63efb1547ac35dcb0f007090396a3c7510eb691 broke the dss1_alwon_fck clock enable on 3430ES2+. The clock code was not waiting for the module to come out of idle. Problem reported by Rajendra Nayak . Signed-off-by: Paul Walmsley Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/clock34xx.h b/arch/arm/mach-omap2/clock34xx.h index 4adf78e2201..08789c8997f 100644 --- a/arch/arm/mach-omap2/clock34xx.h +++ b/arch/arm/mach-omap2/clock34xx.h @@ -2304,7 +2304,7 @@ static struct clk dss1_alwon_fck_3430es1 = { .prcm_mod = OMAP3430_DSS_MOD, .enable_reg = CM_FCLKEN, .enable_bit = OMAP3430_EN_DSS1_SHIFT, - .flags = CLOCK_IN_OMAP343X, + .flags = CLOCK_IN_OMAP3430ES1, .clkdm = { .name = "dss_clkdm" }, .recalc = &followparent_recalc, }; @@ -2317,7 +2317,7 @@ static struct clk dss1_alwon_fck_3430es2 = { .enable_reg = CM_FCLKEN, .enable_bit = OMAP3430_EN_DSS1_SHIFT, .idlest_bit = OMAP3430ES2_ST_DSS_IDLE_SHIFT, - .flags = CLOCK_IN_OMAP343X | WAIT_READY, + .flags = CLOCK_IN_OMAP3430ES2 | WAIT_READY, .clkdm = { .name = "dss_clkdm" }, .recalc = &followparent_recalc, };