[PATCH 2/9] ARM: OMAP1: PM: Remove bogus fiq_[enable/disable] tuple

Santosh Shilimkar santosh.shilimkar at ti.com
Wed Feb 20 10:18:40 EST 2013


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.

So just get rid of it.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar at ti.com>
---
 arch/arm/mach-omap1/pm.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c
index 7a7690a..25aa9c4 100644
--- a/arch/arm/mach-omap1/pm.c
+++ b/arch/arm/mach-omap1/pm.c
@@ -111,8 +111,6 @@ void omap1_pm_idle(void)
 	__u32 use_idlect1 = arm_idlect1_mask;
 	int do_sleep = 0;
 
-	local_fiq_disable();
-
 #if defined(CONFIG_OMAP_MPU_TIMER) && !defined(CONFIG_OMAP_DM_TIMER)
 #warning Enable 32kHz OS timer in order to allow sleep states in idle
 	use_idlect1 = use_idlect1 & ~(1 << 9);
@@ -158,8 +156,6 @@ void omap1_pm_idle(void)
 	}
 	omap_sram_suspend(omap_readl(ARM_IDLECT1),
 			  omap_readl(ARM_IDLECT2));
-
-	local_fiq_enable();
 }
 
 /*
@@ -235,7 +231,6 @@ void omap1_pm_suspend(void)
 	 */
 
 	local_irq_disable();
-	local_fiq_disable();
 
 	/*
 	 * Step 2: save registers
@@ -414,7 +409,6 @@ void omap1_pm_suspend(void)
 	 */
 
 	local_irq_enable();
-	local_fiq_enable();
 
 	omap_serial_wake_trigger(0);
 
-- 
1.7.9.5




More information about the linux-arm-kernel mailing list