summaryrefslogtreecommitdiff
path: root/board/coral/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/coral/board.c')
-rw-r--r--board/coral/board.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/board/coral/board.c b/board/coral/board.c
index 4614fdf73f..9205a1ddd0 100644
--- a/board/coral/board.c
+++ b/board/coral/board.c
@@ -533,7 +533,12 @@ DECLARE_HOOK(HOOK_CHIPSET_PRE_INIT, chipset_pre_init, HOOK_PRIO_DEFAULT);
static void board_set_tablet_mode(void)
{
- tablet_set_mode(!gpio_get_level(GPIO_TABLET_MODE_L));
+ int tablet_mode = 0;
+
+ if (SKU_IS_CONVERTIBLE(sku_id))
+ tablet_mode = !gpio_get_level(GPIO_TABLET_MODE_L);
+
+ tablet_set_mode(tablet_mode);
}
/* Initialize board. */