summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorEric Caruso <ejcaruso@chromium.org>2015-01-07 10:42:23 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-01-10 00:51:14 +0000
commit0c95dc3022e65428188403715513a7d5fc77a1f1 (patch)
treeeaa3102b544523b66c0589e004405ebe2ca84245 /util
parent8c8f66197f80f94fa9de9d2166084c81ee368e3e (diff)
downloadchrome-ec-0c95dc3022e65428188403715513a7d5fc77a1f1.tar.gz
lightbar: Don't let EC control suspend/resume sequence
If the EC controls the lightbar and sets the sequence when it notices the chipset transitioning between states, we can't make exceptions for cases where we don't want to activate the lightbar, such as in dark resume. Instead, let's make it a separate command that we expect from the kernel. BUG=chrome-os-partner:32181 TEST=build on samus, verify lightbar does correct thing with manual control set BRANCH=ToT Signed-off-by: Eric Caruso <ejcaruso@chromium.org> Change-Id: I5dc619cbbf2498e2ef03ce622831b33e14c7c495 Reviewed-on: https://chromium-review.googlesource.com/239215 Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'util')
-rw-r--r--util/ectool.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/ectool.c b/util/ectool.c
index 4509951dbd..58d5a5c819 100644
--- a/util/ectool.c
+++ b/util/ectool.c
@@ -1714,6 +1714,9 @@ static const struct {
LB_SIZES(get_params_v1),
LB_SIZES(set_params_v1),
LB_SIZES(set_program),
+ LB_SIZES(manual_suspend_ctrl),
+ LB_SIZES(suspend),
+ LB_SIZES(resume),
};
#undef LB_SIZES