diff options
author | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2013-02-11 08:59:45 -0500 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2013-03-28 03:25:58 -0400 |
commit | 6b85638b83caac7bae9ffa202391882a9ad4388f (patch) | |
tree | 646d1e7d1241346b394d69d442b7fa296e5d4058 /arch/arm/mach-omap2/pm24xx.c | |
parent | f98d5fe8079cc4830e4ce22585055822119da5c8 (diff) |
ARM: OMAP2+: PM: Remove bogus fiq_[enable/disable] tuple
On OMAP platform, FIQ is reserved for secure environment only. If at all
the FIQ needs to be disabled, it involves going through security
API call. Hence the local_fiq_[enable/disable]() in the OMAP code is bogus.
On GP devices too, the fiq is disabled for non-secure software.
So just get rid of it.
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm24xx.c')
-rw-r--r-- | arch/arm/mach-omap2/pm24xx.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/arch/arm/mach-omap2/pm24xx.c b/arch/arm/mach-omap2/pm24xx.c index b59d93908341..ce956b0a7ba4 100644 --- a/arch/arm/mach-omap2/pm24xx.c +++ b/arch/arm/mach-omap2/pm24xx.c | |||
@@ -200,22 +200,17 @@ static int omap2_can_sleep(void) | |||
200 | 200 | ||
201 | static void omap2_pm_idle(void) | 201 | static void omap2_pm_idle(void) |
202 | { | 202 | { |
203 | local_fiq_disable(); | ||
204 | |||
205 | if (!omap2_can_sleep()) { | 203 | if (!omap2_can_sleep()) { |
206 | if (omap_irq_pending()) | 204 | if (omap_irq_pending()) |
207 | goto out; | 205 | return; |
208 | omap2_enter_mpu_retention(); | 206 | omap2_enter_mpu_retention(); |
209 | goto out; | 207 | return; |
210 | } | 208 | } |
211 | 209 | ||
212 | if (omap_irq_pending()) | 210 | if (omap_irq_pending()) |
213 | goto out; | 211 | return; |
214 | 212 | ||
215 | omap2_enter_full_retention(); | 213 | omap2_enter_full_retention(); |
216 | |||
217 | out: | ||
218 | local_fiq_enable(); | ||
219 | } | 214 | } |
220 | 215 | ||
221 | static void __init prcm_setup_regs(void) | 216 | static void __init prcm_setup_regs(void) |