From bc87c8c251bc77f02d7f904b99491c8d43115f9a Mon Sep 17 00:00:00 2001 From: Zhou weixin Date: Tue, 17 Jan 2017 19:05:51 +0800 Subject: [PATCH] HID: hid-alps: fix touchpad data report error after the android restart Change-Id: Id4204bc9b20ca257da65bcdec02eab8a6e398d02 Signed-off-by: Zhou weixin --- drivers/hid/hid-alps.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hid/hid-alps.c b/drivers/hid/hid-alps.c index 7a45231ef6aa..5593f83e2dc6 100644 --- 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; } -- 2.34.1