diff options
author | james_chao <james_chao@asus.com> | 2016-07-13 14:34:13 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-07-19 12:03:27 -0700 |
commit | a68b3c5943881eeb342c61664377c52a160d3768 (patch) | |
tree | a747616fe003151d031c83ab186797499693d147 /common/led_policy_std.c | |
parent | acdba71b73755be2ac79a85f9678572ca22d93d5 (diff) | |
download | chrome-ec-a68b3c5943881eeb342c61664377c52a160d3768.tar.gz |
led_policy_std: 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:55225
BRANCH=glados
TEST=Enter S0iX on cave and verify LED blinks.
Also verify that the LED still blinks in S3.
Change-Id: I883147b1c8e599de077c9f06e567a63d535a01f8
Signed-off-by: james_chao <james_chao@asus.com>
Reviewed-on: https://chromium-review.googlesource.com/359985
Commit-Ready: Shawn N <shawnn@chromium.org>
Tested-by: Shawn N <shawnn@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'common/led_policy_std.c')
-rw-r--r-- | common/led_policy_std.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/led_policy_std.c b/common/led_policy_std.c index 32351d7e07..416d8495ed 100644 --- a/common/led_policy_std.c +++ b/common/led_policy_std.c @@ -134,7 +134,8 @@ static void std_led_set_power(void) pwr_led_set_color(LED_OFF); else if (chipset_in_state(CHIPSET_STATE_ON)) pwr_led_set_color(LED_WHITE); - else if (chipset_in_state(CHIPSET_STATE_SUSPEND)) + else if (chipset_in_state(CHIPSET_STATE_SUSPEND | + CHIPSET_STATE_STANDBY)) pwr_led_set_color((power_second & 3) ? LED_OFF : LED_WHITE); } |