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:
463100c
)
input: touchscreen: qtouch: Update finger id on resume as well
author
Colin Cross
<ccross@android.com>
Tue, 23 Nov 2010 01:44:34 +0000
(17:44 -0800)
committer
Colin Cross
<ccross@android.com>
Tue, 23 Nov 2010 02:03:58 +0000
(18:03 -0800)
Change-Id: If195ff054e6042c539a3906ae4b46940748b58db
Signed-off-by: Colin Cross <ccross@android.com>
drivers/input/touchscreen/qtouch_obp_ts.c
patch
|
blob
|
history
diff --git
a/drivers/input/touchscreen/qtouch_obp_ts.c
b/drivers/input/touchscreen/qtouch_obp_ts.c
index 08d0a19a7764f2cf80c3a64cc980b45bd3d0b6eb..22d34db36935da427da2000f3b5f39766b9ea4d4 100644
(file)
--- a/
drivers/input/touchscreen/qtouch_obp_ts.c
+++ b/
drivers/input/touchscreen/qtouch_obp_ts.c
@@
-1923,7
+1923,7
@@
static int qtouch_ts_resume(struct i2c_client *client)
if (ts->finger_data[i].down == 0)
continue;
input_report_abs(ts->input_dev, ABS_MT_TOUCH_MAJOR, 0);
- input_report_abs(ts->input_dev, ABS_MT_TRACKING_ID, i
+1
);
+ input_report_abs(ts->input_dev, ABS_MT_TRACKING_ID, i);
input_mt_sync(ts->input_dev);
memset(&ts->finger_data[i], 0, sizeof(struct coordinate_map));
}