diff options
Diffstat (limited to 'board/pompom/board.c')
-rw-r--r-- | board/pompom/board.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/board/pompom/board.c b/board/pompom/board.c index ae9af4e596..8978b75981 100644 --- a/board/pompom/board.c +++ b/board/pompom/board.c @@ -641,23 +641,3 @@ static void board_update_sensor_config_from_sku(void) } DECLARE_HOOK(HOOK_INIT, board_update_sensor_config_from_sku, HOOK_PRIO_INIT_I2C + 2); - -#ifndef TEST_BUILD -/* This callback disables keyboard when convertibles are fully open */ -void lid_angle_peripheral_enable(int enable) -{ - int chipset_in_s0 = chipset_in_state(CHIPSET_STATE_ON); - - if (enable) { - keyboard_scan_enable(1, KB_SCAN_DISABLE_LID_ANGLE); - } else { - /* - * Ensure that the chipset is off before disabling the keyboard. - * When the chipset is on, the EC keeps the keyboard enabled and - * the AP decides whether to ignore input devices or not. - */ - if (!chipset_in_s0) - keyboard_scan_enable(0, KB_SCAN_DISABLE_LID_ANGLE); - } -} -#endif |