mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 02:35:28 +00:00
kevin: gru: Don't disable trackpad in tablet mode.
Apparently, one does not simply remove power from the trackpad and restore it at will; the kernel needs to be involved and decide if the device needs to be fully reinitialized, or if it was supposed to keep some state. Therefore, let's not touch it except from startup and shutdown and let the higher parts of the stack make the necessary decisions. BUG=chrome-os-partner:60478 BRANCH=gru TEST=Boot in tablet mode and verify trackpad still works. TEST=Go from clamshell to tablet mode and verify trackpad still works in both modes. Change-Id: I7674c5516ce4d237b0d2a15fb94b47e6fbe3ba39 Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/417110 Commit-Ready: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
e4250052a7
commit
11be87540b
@@ -711,9 +711,6 @@ const unsigned int motion_sensor_count = ARRAY_SIZE(motion_sensors);
|
||||
void lid_angle_peripheral_enable(int enable)
|
||||
{
|
||||
keyboard_scan_enable(enable, KB_SCAN_DISABLE_LID_ANGLE);
|
||||
|
||||
/* enable/disable touchpad */
|
||||
gpio_set_level(GPIO_PP3300_TRACKPAD_EN_L, !enable);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user