update for xpt2046
author沈睿汀 <srt@rock-chips.com>
Tue, 18 May 2010 09:25:09 +0000 (09:25 +0000)
committer黄涛 <huangtao@rock-chips.com>
Mon, 21 Jun 2010 05:34:57 +0000 (13:34 +0800)
drivers/input/touchscreen/rk2818_spi_xpt2046_ts.c

index 9a9fd6561acd320271b99bde5074402cb51b49d9..46e4591c58f07368784a876253bca18cc980f50d 100644 (file)
@@ -503,7 +503,6 @@ static enum hrtimer_restart xpt2046_timer(struct hrtimer *handle)
                if (ts->pendown) {
                        struct input_dev *input = ts->input;
                        input_report_key(input, BTN_TOUCH, 0);
-                       input_report_abs(input, ABS_PRESSURE, 0);
                        input_sync(input);
 
                        ts->pendown = 0;