summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorWei-Han Chen <stimim@google.com>2018-11-08 23:54:27 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-11-13 03:32:50 -0800
commit50a5b7999eeb29bfcc1e60b8f1c4a0890e1c3f7c (patch)
tree88e937883e72f14c18ac494c858973cf1efd3ee0 /driver
parentfa66dd458cfaedda81811f5bfce830bd0f065a31 (diff)
downloadchrome-ec-50a5b7999eeb29bfcc1e60b8f1c4a0890e1c3f7c.tar.gz
touchpad_st: ignore error 0x2A
BRANCH=nocturne BUG=b:118444760 TEST=local build and run on whiskers Signed-off-by: Wei-Han Chen <stimim@chromium.org> Change-Id: I3799c9fd5e8e302c7cca35a5aca0b6bbc3879218 Reviewed-on: https://chromium-review.googlesource.com/1326781 Commit-Ready: Wei-Han Chen <stimim@chromium.org> Tested-by: Wei-Han Chen <stimim@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'driver')
-rw-r--r--driver/touchpad_st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/touchpad_st.c b/driver/touchpad_st.c
index 3faf37828b..57c25a5181 100644
--- a/driver/touchpad_st.c
+++ b/driver/touchpad_st.c
@@ -647,7 +647,7 @@ static void st_tp_handle_error(uint8_t error_type)
/*
* Corrupted panel configuration, a panel init should fix it.
*/
- if (error_type >= 0x28 && error_type <= 0x2A) {
+ if (error_type >= 0x28 && error_type <= 0x29) {
tp_control |= TP_CONTROL_SHALL_INIT;
return;
}