From: 蔡枫 Date: Thu, 11 Aug 2011 10:16:29 +0000 (+0800) Subject: newton:fix gt819 drop point bug X-Git-Tag: firefly_0821_release~9772^2~20^2~12 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dbff91698c8472c98ec783a9cd9b86740237498a;p=firefly-linux-kernel-4.4.55.git newton:fix gt819 drop point bug --- diff --git a/drivers/input/touchscreen/gt819.c b/drivers/input/touchscreen/gt819.c index 8c0188b00827..91baacda5a4d 100755 --- a/drivers/input/touchscreen/gt819.c +++ b/drivers/input/touchscreen/gt819.c @@ -471,8 +471,12 @@ static void gt819_queue_work(struct work_struct *work) check_sum += point_data[count]; if(check_sum != 0) //checksum verify error { - printk("coor checksum error!\n"); + input_report_abs(ts->input_dev, ABS_MT_TOUCH_MAJOR, 0); + input_report_abs(ts->input_dev, ABS_MT_WIDTH_MAJOR, 0); + //input_mt_sync(data->input_dev); + input_sync(ts->input_dev); enable_irq(ts->irq); + dev_info(&ts->client->dev, "coor checksum error!touch release\n"); return; }