diff options
author | Knox Chiou <knoxchiou@chromium.org> | 2022-04-27 02:51:58 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-04-27 18:36:45 +0000 |
commit | 2cd9c93579a52c8f619a8f36c37dcbb0a992941d (patch) | |
tree | 63e060152a7341b6b6f42712eda17ff9493d9d33 | |
parent | 0dbdf51bbf1c192d5c42195f119ce430af77afa8 (diff) | |
download | chrome-ec-2cd9c93579a52c8f619a8f36c37dcbb0a992941d.tar.gz |
Revert "Quackingstick: Turn off LED before enter EC hibernate"
This reverts commit 12c333e6029fb77caf8d5d2e32fabcbcfd667b44.
Reason for revert: CL:3598690 would solve the issue b/228570817
Original change's description:
> Quackingstick: Turn off LED before enter EC hibernate
>
> Turn off LED in board_hibernate.
>
> BUG=b:228570817
> BRANCH=trogdor
> TEST=make sure LED off after run hibernate in ec console
>
> Signed-off-by: Sue Chen <sue.chen@quanta.corp-partner.google.com>
> Change-Id: I7081d92f662215fd0fea845e6dd44584a4281231
> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3581233
> Reviewed-by: Bob Moragues <moragues@chromium.org>
> Commit-Queue: Bob Moragues <moragues@chromium.org>
Bug: b:228570817
Change-Id: I5482a8d8a31c26a9b8f67c9faffea88575b6a22e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3607417
Auto-Submit: Knox Chiou <knoxchiou@chromium.org>
Tested-by: Knox Chiou <knoxchiou@chromium.org>
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Commit-Queue: Wai-Hong Tam <waihong@google.com>
-rw-r--r-- | board/quackingstick/board.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/board/quackingstick/board.c b/board/quackingstick/board.c index 48414a2d0c..8806e8c845 100644 --- a/board/quackingstick/board.c +++ b/board/quackingstick/board.c @@ -20,7 +20,6 @@ #include "driver/tcpm/tcpci.h" #include "gpio.h" #include "hooks.h" -#include "led_common.h" #include "lid_switch.h" #include "mkbp_input_devices.h" #include "peripheral_charger.h" @@ -451,13 +450,6 @@ DECLARE_HOOK(HOOK_INIT, board_tcpc_init, HOOK_PRIO_INIT_I2C+1); void board_hibernate(void) { int i; - uint8_t brightness_range[EC_LED_COLOR_COUNT] = { 0 }; - - /* - * Turn off LED. - */ - led_set_brightness(EC_LED_ID_BATTERY_LED, brightness_range); - led_auto_control(EC_LED_ID_BATTERY_LED, 0); /* * Sensors are unpowered in hibernate. Apply PD to the |