diff options
author | Bruce <Bruce.Wan@quantatw.com> | 2017-01-19 19:31:59 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-01-19 21:27:50 -0800 |
commit | 875c4ab3db61edbeae4cbab278516c5158273d76 (patch) | |
tree | bcb0596c41d951c435aed19ffef63dae7a23ea23 | |
parent | 0620490add051aa03b327a9c7dfea606195b7631 (diff) | |
download | chrome-ec-875c4ab3db61edbeae4cbab278516c5158273d76.tar.gz |
snappy: remove KB/TP control in S3
Remove all TP control because TP lose function.
Remove KB control because this action of disable KB in S3 work
after modify 'SENSOR_ACTIVE_S0' to 'SENSOR_ACTIVE_S0_S3'.
BUG=chrome-os-partner:61618
BRANCH=reef
TEST=check TP don't lose function after resume, then KB disable in
tablet mode and enable normal mode whether S0 or S3.
Change-Id: I9fd11ecb453a193dc692b5f6160a2f2ef23b8afc
Signed-off-by: Bruce.Wan <Bruce.Wan@quantatw.com>
Reviewed-on: https://chromium-review.googlesource.com/430592
Commit-Ready: Bruce Wan <Bruce.Wan@quantatw.com>
Tested-by: Bruce Wan <Bruce.Wan@quantatw.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
-rw-r--r-- | board/snappy/board.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/board/snappy/board.c b/board/snappy/board.c index 18324b294f..76bedcf5f4 100644 --- a/board/snappy/board.c +++ b/board/snappy/board.c @@ -679,17 +679,6 @@ void lid_angle_peripheral_enable(int enable) if (tablet_get_mode() || chipset_in_state(CHIPSET_STATE_ANY_OFF)) enable = 0; keyboard_scan_enable(enable, KB_SCAN_DISABLE_LID_ANGLE); - - /* - * In S3 state, then disable KB/TP function - * when state switch to tablet mode from normal mode. - * Enable KB/TP function when state switch to nromal - * mode from tablet mode. - */ - if (chipset_in_state(CHIPSET_STATE_SUSPEND)) { - keyboard_scan_enable(enable, KB_SCAN_DISABLE_LID_ANGLE); - gpio_set_level(GPIO_EN_P3300_TRACKPAD_ODL, !enable); - } } #endif |