From: zhanghao Date: Fri, 3 Feb 2012 08:55:38 +0000 (+0800) Subject: Revert "pixcir driver: fix a bug touchscreen cannot hold touching" X-Git-Tag: firefly_0821_release~9648 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d6c8ccb25a8f3efbd0f6db1c519dec3ff641219a;p=firefly-linux-kernel-4.4.55.git Revert "pixcir driver: fix a bug touchscreen cannot hold touching" This reverts commit 2dac4755e58544d8269371ee77a81cfe1b26e689. --- diff --git a/drivers/input/touchscreen/pixcir_i2c_ts.c b/drivers/input/touchscreen/pixcir_i2c_ts.c index db2e66f90c6a..57b83fd99f02 100644 --- a/drivers/input/touchscreen/pixcir_i2c_ts.c +++ b/drivers/input/touchscreen/pixcir_i2c_ts.c @@ -296,7 +296,7 @@ static void pixcir_ts_work_func(struct work_struct *work) while (!tsdata->exiting) { pixcir_ts_poscheck(tsdata); - /*if (attb_read_val()){ + if (attb_read_val()){ DBG("%s: >>>>>touch release\n\n",__FUNCTION__); for (i = 0; i < MAX_SUPPORT_POINT; i++) { point[i].pre_active = point[i].active; @@ -309,7 +309,7 @@ static void pixcir_ts_work_func(struct work_struct *work) input_sync(tsdata->input); enable_irq(tsdata->client->irq); break; - }*/ + } msleep(1); }