summaryrefslogtreecommitdiff
path: root/board/taeko/sensors.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/taeko/sensors.c')
-rw-r--r--board/taeko/sensors.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/taeko/sensors.c b/board/taeko/sensors.c
index f12e2a9f94..4d5d72b062 100644
--- a/board/taeko/sensors.c
+++ b/board/taeko/sensors.c
@@ -18,6 +18,7 @@
#include "temp_sensor.h"
#include "thermal.h"
#include "temp_sensor/thermistor.h"
+#include "tablet_mode.h"
#if 0
#define CPRINTS(format, args...) ccprints(format, ## args)
@@ -331,6 +332,8 @@ static void baseboard_sensors_init(void)
} else {
CPRINTS("Clamshell");
motion_sensor_count = 0;
+ gmr_tablet_switch_disable();
+ gpio_set_flags(GPIO_TABLET_MODE_L, GPIO_INPUT | GPIO_PULL_DOWN);
/* Gyro is not present, don't allow line to float */
gpio_set_flags(GPIO_EC_IMU_INT_R_L, GPIO_INPUT |
GPIO_PULL_DOWN);