summaryrefslogtreecommitdiff
path: root/board/chell
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2016-02-08 12:32:25 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-02-08 17:07:37 -0800
commit75142ba99a1ae8c5409716dd8f2c1c6215e4d226 (patch)
tree3d7708616402d31aa4ed3052666c58452fb15d3b /board/chell
parent7ac69e594b9a092dfeb76a4969396f7ddde4fbee (diff)
downloadchrome-ec-75142ba99a1ae8c5409716dd8f2c1c6215e4d226.tar.gz
chell: Blink LED in S0iX
Blink the LED in S3 as well as S0iX states so there is no user visible difference in their behavior. BUG=chrome-os-partner:49274 BRANCH=glados TEST=Enter S0iX on chell (need SKU4) and verify LED blinks. Also verify that the LED still blinks in S3. Change-Id: I91b123de17787159f4e7d6aca2e86b80885b8f4e Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/326740 Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'board/chell')
-rw-r--r--board/chell/led.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/chell/led.c b/board/chell/led.c
index c5ffb02c4d..0f92de1c75 100644
--- a/board/chell/led.c
+++ b/board/chell/led.c
@@ -85,7 +85,7 @@ static void board_led_set_battery(void)
battery_ticks++;
power_ticks++;
- if (chipset_in_state(CHIPSET_STATE_SUSPEND)) {
+ if (chipset_in_state(CHIPSET_STATE_SUSPEND | CHIPSET_STATE_STANDBY)) {
/*
* Reset ticks if entering suspend so LED turns white
* as soon as possible.