summaryrefslogtreecommitdiff
path: root/board/poppy/base_detect_poppy.c
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@chromium.org>2018-01-25 15:49:37 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-01-29 16:38:32 -0800
commit8160d1ae86c4306b61c1636e99178423f8a7a0d6 (patch)
tree22cecfed5af4fe12399bb6526fe42921967a3c7c /board/poppy/base_detect_poppy.c
parenta4e1e476308ed717c0909c0a67e9a45152371dd0 (diff)
downloadchrome-ec-8160d1ae86c4306b61c1636e99178423f8a7a0d6.tar.gz
poppy: Enable dptf device orientation
This is required to support mode-aware DPTF. Also, there is no need to send mode change event in board specific code as that is already done by dptf common code. BUG=b:65467566 BRANCH=None TEST=Verified that trip point temperatures get updated in the OS depending upon the device mode. Change-Id: I854628bcde755bdb1c6c1b73fbfa0948e1d7e420 Signed-off-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/887725 Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'board/poppy/base_detect_poppy.c')
-rw-r--r--board/poppy/base_detect_poppy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/board/poppy/base_detect_poppy.c b/board/poppy/base_detect_poppy.c
index 0361e89c66..4a220af993 100644
--- a/board/poppy/base_detect_poppy.c
+++ b/board/poppy/base_detect_poppy.c
@@ -93,7 +93,6 @@ static void base_detect_change(enum base_status status)
CPRINTS("Base %sconnected", connected ? "" : "not ");
gpio_set_level(GPIO_PP3300_DX_BASE, connected);
- host_set_single_event(EC_HOST_EVENT_MODE_CHANGE);
tablet_set_mode(!connected);
current_base_status = status;
}