summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/snappy/board.c11
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