diff options
Diffstat (limited to 'board/guybrush/board.c')
-rw-r--r-- | board/guybrush/board.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/board/guybrush/board.c b/board/guybrush/board.c index e85635d0a4..e6e7256eec 100644 --- a/board/guybrush/board.c +++ b/board/guybrush/board.c @@ -372,22 +372,3 @@ int board_get_soc_temp(int idx, int *temp_k) return tmp112_get_val(idx, temp_k); } - -#ifndef TEST_BUILD -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 |