diff options
author | Parth Malkan <parthmalkan@google.com> | 2022-08-05 13:35:03 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-08-05 22:34:36 +0000 |
commit | 2b7d9485e69a03e7d4e93f1f07e411172ee7bf5b (patch) | |
tree | ab53ceecadbabb40f27cb55ac487b0077f046456 | |
parent | 1e869d9431dbae9b0753bf506ff08425d0afe6c1 (diff) | |
download | chrome-ec-stabilize-15032.B-main.tar.gz |
mithrax: rgbkb: Fix KB BL during S0ix -> S0stabilize-15032.B-main
Mithrax disables EC_KB_BL during suspend, which resets the LED driver
and doesn't restore the KB BL state after resuming from suspend. This
patch fixes the issue.
BUG=b:241497661
TEST=Manual test on Mithrax
BRANCH=None
Signed-off-by: Parth Malkan <parthmalkan@google.com>
Change-Id: I52a27d128e62acb8e6fa2849f92d787d752a9c33
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3811890
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
-rw-r--r-- | board/mithrax/board.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/board/mithrax/board.c b/board/mithrax/board.c index ca29e68fbf..05a5e86f01 100644 --- a/board/mithrax/board.c +++ b/board/mithrax/board.c @@ -59,14 +59,6 @@ static void board_chipset_resume(void) } DECLARE_HOOK(HOOK_CHIPSET_RESUME, board_chipset_resume, HOOK_PRIO_DEFAULT); -/* Called on AP S0 -> S3 transition */ -static void board_chipset_suspend(void) -{ - /* Turn off the keyboard backlight if it's on. */ - gpio_set_level(GPIO_EC_KB_BL_EN_L, 1); -} -DECLARE_HOOK(HOOK_CHIPSET_SUSPEND, board_chipset_suspend, HOOK_PRIO_DEFAULT); - /* Called on AP S5 -> S3 transition */ static void board_chipset_startup(void) { |