projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ae5e98
)
HID: hid-alps: fix touchpad data report error after the android restart
author
Zhou weixin
<zwx@rock-chips.com>
Tue, 17 Jan 2017 11:05:51 +0000
(19:05 +0800)
committer
Huang, Tao
<huangtao@rock-chips.com>
Tue, 17 Jan 2017 12:23:01 +0000
(20:23 +0800)
Change-Id: Id4204bc9b20ca257da65bcdec02eab8a6e398d02
Signed-off-by: Zhou weixin <zwx@rock-chips.com>
drivers/hid/hid-alps.c
patch
|
blob
|
history
diff --git
a/drivers/hid/hid-alps.c
b/drivers/hid/hid-alps.c
index 7a45231ef6aa05675978ba49a5cb7f206c99bba5..5593f83e2dc6e9972c0c21278950b902549f9156 100644
(file)
--- a/
drivers/hid/hid-alps.c
+++ b/
drivers/hid/hid-alps.c
@@
-322,6
+322,7
@@
static int T4_raw_event(struct alps_dev *hdata, u8 *data, int size)
input_mt_report_slot_state(hdata->input, MT_TOOL_FINGER, 1);
} else {
input_mt_report_slot_state(hdata->input, MT_TOOL_FINGER, 0);
+ input_report_abs(hdata->input, ABS_MT_PRESSURE, 0);
continue;
}