pixcir driver: fix a bug touchscreen cannot hold touching
authorzhanghao <zhanghao@rock-chips.com>
Wed, 1 Feb 2012 03:35:25 +0000 (11:35 +0800)
committerzhanghao <zhanghao@rock-chips.com>
Wed, 1 Feb 2012 03:36:23 +0000 (11:36 +0800)
drivers/input/touchscreen/pixcir_i2c_ts.c

index 57b83fd99f02c747f7f900142d315da74a29cadd..db2e66f90c6acfdac05befe587cf62f2dd8fae91 100644 (file)
@@ -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);
        }