From 20393f2c7251d4a9c553bcf9a1cfd472e1e98c85 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Mon, 22 Nov 2010 17:44:34 -0800 Subject: [PATCH] input: touchscreen: qtouch: Update finger id on resume as well Change-Id: If195ff054e6042c539a3906ae4b46940748b58db Signed-off-by: Colin Cross --- drivers/input/touchscreen/qtouch_obp_ts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/qtouch_obp_ts.c b/drivers/input/touchscreen/qtouch_obp_ts.c index 08d0a19a7764..22d34db36935 100644 --- 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)); } -- 2.34.1