summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm34xx.c
diff options
context:
space:
mode:
authorKevin Hilman <khilman@ti.com>2011-05-26 14:48:19 -0700
committerKevin Hilman <khilman@ti.com>2011-06-20 14:12:32 -0700
commit3a7b7bdd24286a9cfce9dda5d2b7324dfc2e3b31 (patch)
treea03c6323d8e940cb0ebb61ca6368c46c268b4e96 /arch/arm/mach-omap2/pm34xx.c
parent442155adc0989148e800923f4b4b191ce2120c6a (diff)
downloadblackbird-op-linux-3a7b7bdd24286a9cfce9dda5d2b7324dfc2e3b31.tar.gz
blackbird-op-linux-3a7b7bdd24286a9cfce9dda5d2b7324dfc2e3b31.zip
OMAP3: PM debug: remove sleep_while_idle feature
Remove the OMAP-specific PM debug 'sleep_while_idle' feature which is currently available as an OMAP-specific debugfs entry. This duplicates existing ARM-generic functionality available as a boot-time option using the boot cmdline option 'hohlt'. If runtime configuration of this is needed, then adding a debugfs entry for the ARM-generic hlt/nohlt interface should be added. Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Acked-by: Jean Pihet <j-pihet@ti.com> Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm34xx.c')
-rw-r--r--arch/arm/mach-omap2/pm34xx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index c155c9d1c82c..cb342447544c 100644
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -497,8 +497,6 @@ console_still_active:
int omap3_can_sleep(void)
{
- if (!sleep_while_idle)
- return 0;
if (!omap_uart_can_sleep())
return 0;
return 1;
OpenPOWER on IntegriCloud