summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Kozaruk <oleksandr.kozaruk@globallogic.com>2015-07-28 11:24:34 -0700
committerEvan Wilson <evan@oliodevices.com>2015-07-31 11:36:20 -0700
commit8792368f07601d6079875dabe4b6bba1031ca88e (patch)
tree20c8a4a26278e20598e2af9808f1363d2c103e5f
parentff2e45d50c4a20d87b5084b0eafa9e1c868760d3 (diff)
downloadolio-linux-3.10-8792368f07601d6079875dabe4b6bba1031ca88e.tar.xz
olio-linux-3.10-8792368f07601d6079875dabe4b6bba1031ca88e.zip
olio: config: Disable display ambient mode.
We don't use display ambient mode due to significant power consumption when display is always on. Change-Id: I285c9d5452fad49c4825c8174d6bf859db790c26 Signed-off-by: Evan Wilson <evan@oliodevices.com>
-rw-r--r--arch/arm/configs/omap3_h1_defconfig2
-rw-r--r--kernel/power/Kconfig2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/configs/omap3_h1_defconfig b/arch/arm/configs/omap3_h1_defconfig
index 9b7c431d7b8..b107860b808 100644
--- a/arch/arm/configs/omap3_h1_defconfig
+++ b/arch/arm/configs/omap3_h1_defconfig
@@ -548,7 +548,7 @@ CONFIG_PM_OPP=y
CONFIG_PM_CLK=y
CONFIG_CPU_PM=y
CONFIG_SUSPEND_TIME=y
-CONFIG_HAS_AMBIENTMODE=y
+# CONFIG_HAS_AMBIENTMODE is not set
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_ARM_CPU_SUSPEND=y
CONFIG_NET=y
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
index 361341b6069..1c7f33b6e0f 100644
--- a/kernel/power/Kconfig
+++ b/kernel/power/Kconfig
@@ -291,7 +291,7 @@ config SUSPEND_TIME
/sys/kernel/debug/suspend_time
config HAS_AMBIENTMODE
- def_bool y
+ def_bool n
depends on PM
---help---
Ambient mode should not turn off/on display/back-light/etc.