@@ -131,11 +131,7 @@ static int __init pwrdms_setup(struct powerdomain *pwrdm, void *unused)
131131 */
132132static void omap_default_idle (void )
133133{
134- local_fiq_disable ();
135-
136134omap_do_wfi ();
137-
138- local_fiq_enable ();
139135}
140136
141137/**
@@ -147,8 +143,8 @@ static void omap_default_idle(void)
147143int __init omap4_pm_init (void )
148144{
149145int ret ;
150- struct clockdomain * emif_clkdm , * mpuss_clkdm , * l3_1_clkdm , * l4wkup ;
151- struct clockdomain * ducati_clkdm , * l3_2_clkdm , * l4_per_clkdm ;
146+ struct clockdomain * emif_clkdm , * mpuss_clkdm , * l3_1_clkdm ;
147+ struct clockdomain * ducati_clkdm , * l3_2_clkdm ;
152148
153149if (omap_rev () == OMAP4430_REV_ES1_0 ) {
154150WARN (1 , "Power Management not supported on OMAP4430 ES1.0\n" );
@@ -175,27 +171,19 @@ int __init omap4_pm_init(void)
175171 * MPUSS -> L4_PER/L3_* and DUCATI -> L3_* doesn't work as
176172 * expected. The hardware recommendation is to enable static
177173 * dependencies for these to avoid system lock ups or random crashes.
178- * The L4 wakeup depedency is added to workaround the OCP sync hardware
179- * BUG with 32K synctimer which lead to incorrect timer value read
180- * from the 32K counter. The BUG applies for GPTIMER1 and WDT2 which
181- * are part of L4 wakeup clockdomain.
182174 */
183175mpuss_clkdm = clkdm_lookup ("mpuss_clkdm" );
184176emif_clkdm = clkdm_lookup ("l3_emif_clkdm" );
185177l3_1_clkdm = clkdm_lookup ("l3_1_clkdm" );
186178l3_2_clkdm = clkdm_lookup ("l3_2_clkdm" );
187- l4_per_clkdm = clkdm_lookup ("l4_per_clkdm" );
188- l4wkup = clkdm_lookup ("l4_wkup_clkdm" );
189179ducati_clkdm = clkdm_lookup ("ducati_clkdm" );
190- if ((!mpuss_clkdm ) || (!emif_clkdm ) || (!l3_1_clkdm ) || (! l4wkup ) ||
191- (!l3_2_clkdm ) || (!ducati_clkdm ) || (! l4_per_clkdm ) )
180+ if ((!mpuss_clkdm ) || (!emif_clkdm ) || (!l3_1_clkdm ) ||
181+ (!l3_2_clkdm ) || (!ducati_clkdm ))
192182goto err2 ;
193183
194184ret = clkdm_add_wkdep (mpuss_clkdm , emif_clkdm );
195185ret |= clkdm_add_wkdep (mpuss_clkdm , l3_1_clkdm );
196186ret |= clkdm_add_wkdep (mpuss_clkdm , l3_2_clkdm );
197- ret |= clkdm_add_wkdep (mpuss_clkdm , l4_per_clkdm );
198- ret |= clkdm_add_wkdep (mpuss_clkdm , l4wkup );
199187ret |= clkdm_add_wkdep (ducati_clkdm , l3_1_clkdm );
200188ret |= clkdm_add_wkdep (ducati_clkdm , l3_2_clkdm );
201189if (ret ) {
0 commit comments