diff options
author | Furquan Shaikh <furquan@google.com> | 2018-11-23 23:27:59 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-11-29 04:31:50 -0800 |
commit | f3c205e9b4bcd391c7eeb633e424f06c20aed99e (patch) | |
tree | 7796d068f7cf7eea5a71fee3906631a590080b2f /test | |
parent | 625a4d856d767c3226e6869f5d38ca3c70b2b95c (diff) | |
download | chrome-ec-f3c205e9b4bcd391c7eeb633e424f06c20aed99e.tar.gz |
motion_lid: Use CONFIG_TABLET_MODE
This change updates motion_lid driver to use CONFIG_TABLET_MODE to
decide if device requires reporting of tablet mode. This basically
makes the config options CONFIG_LID_ANGLE_INVALID_CHECK and
CONFIG_LID_ANGLE_TABLET_MODE obsolete. Now that EC will always report
tablet mode aligned with Chrome (at 180 degree), any device that
supports tablet mode and uses motion lid driver will require this by
default and should not require boards to individually select any
special config options. Thus, it also gets rid of unused
CONFIG_LID_ANGLE_TABLET_MODE and CONFIG_LID_ANGLE_INVALID_CHECK.
BUG=b:120050761
BRANCH=octopus
TEST=make -j buildall
Change-Id: Ib73af66ca1c17d4033cf54f0b4b86bf41793f3a3
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1350470
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/test_config.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/test_config.h b/test/test_config.h index a53ea87656..1dfe0a2ffd 100644 --- a/test/test_config.h +++ b/test/test_config.h @@ -66,8 +66,6 @@ #ifdef TEST_MOTION_LID #define CONFIG_LID_ANGLE -#define CONFIG_LID_ANGLE_INVALID_CHECK -#define CONFIG_LID_ANGLE_TABLET_MODE #define CONFIG_LID_ANGLE_SENSOR_BASE 0 #define CONFIG_LID_ANGLE_SENSOR_LID 1 #define CONFIG_TABLET_MODE |