diff options
author | Mike Lee <mike5@huaqin.corp-partner.google.com> | 2020-11-13 11:37:53 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-11-16 06:14:13 +0000 |
commit | a9e18a31f61999715c0cc16d4a2c8edfdbd16986 (patch) | |
tree | 13f56da1d532af78f88d959acf9c228904bea430 /board/fennel/board.h | |
parent | 7bb5568c04011aecdeda2e55a0ca69443d497e3b (diff) | |
download | chrome-ec-a9e18a31f61999715c0cc16d4a2c8edfdbd16986.tar.gz |
Fennel: disable keyboard at tablet mode when in S3
when in S3 and tablet mode, keyboard scan should be disabled and machine
should not be waked up if user press keyboard
BUG=b:173155379
BRANCH=firmware-kukui-12573.B
TEST=put machine in tablet mode, use 'powerd_dbus_suspend' to let
machine enter S3, press any key of keyboard cannot wake up machine
Signed-off-by: Mike Lee <mike5@huaqin.corp-partner.google.com>
Change-Id: I5e68d55e2d89aeab9b3920e3be520882c3b0e5bd
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2537730
Reviewed-by: Chen-Tsung Hsieh <chentsung@chromium.org>
Commit-Queue: Chen-Tsung Hsieh <chentsung@chromium.org>
Diffstat (limited to 'board/fennel/board.h')
-rw-r--r-- | board/fennel/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/fennel/board.h b/board/fennel/board.h index aaf863206a..3995435de1 100644 --- a/board/fennel/board.h +++ b/board/fennel/board.h @@ -61,6 +61,7 @@ #define CONFIG_CMD_ACCEL_INFO #define CONFIG_LID_ANGLE +#define CONFIG_LID_ANGLE_UPDATE #define CONFIG_LID_ANGLE_SENSOR_BASE BASE_ACCEL #define CONFIG_LID_ANGLE_SENSOR_LID LID_ACCEL |