summaryrefslogtreecommitdiff
path: root/board/nami/board.c
diff options
context:
space:
mode:
authorKaiyen Chang <kaiyen.chang@intel.com>2018-03-25 01:01:42 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-03-26 14:41:41 -0700
commitb57ad0e1b82f87e7882e3bd7d05b8e994ad5a414 (patch)
tree9fa833f0802b12883e9fb0da78d2f2af8317a90b /board/nami/board.c
parent33bac396c61b06ab5cfd55b5f3c3d64aaff8b784 (diff)
downloadchrome-ec-b57ad0e1b82f87e7882e3bd7d05b8e994ad5a414.tar.gz
Remove the unnecessary words of "Disable touchpad" in the comments
The control of trackpad from EC was entirely removed by CL:421275. So remove the unnecessary words of disabling touchpad in the comment of lid_angle_peripheral_enable(). BUG=none BRANCH=poppy TEST=none Change-Id: Ie688d9dc98c5f6f60a9d3908945495f4b6fdb00d Signed-off-by: Kaiyen Chang <kaiyen.chang@intel.com> Reviewed-on: https://chromium-review.googlesource.com/979572 Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'board/nami/board.c')
-rw-r--r--board/nami/board.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/nami/board.c b/board/nami/board.c
index 29ee69147a..40722559cf 100644
--- a/board/nami/board.c
+++ b/board/nami/board.c
@@ -661,7 +661,8 @@ BUILD_ASSERT(ARRAY_SIZE(motion_als_sensors) == ALS_COUNT);
void lid_angle_peripheral_enable(int enable)
{
/* If the lid is in 360 position, ignore the lid angle,
- * which might be faulty. Disable keyboard and touchpad. */
+ * which might be faulty. Disable keyboard.
+ */
if (tablet_get_mode() || chipset_in_state(CHIPSET_STATE_ANY_OFF))
enable = 0;
keyboard_scan_enable(enable, KB_SCAN_DISABLE_LID_ANGLE);