diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/input/touchscreen/ads7846.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/ads7846.c b/drivers/input/touchscreen/ads7846.c index e7cabf12c8dc..1aaa153a2774 100644 --- a/drivers/input/touchscreen/ads7846.c +++ b/drivers/input/touchscreen/ads7846.c | |||
@@ -375,11 +375,13 @@ static void ads7846_rx(void *ads) | |||
375 | if (Rt) { | 375 | if (Rt) { |
376 | input_report_abs(input_dev, ABS_X, x); | 376 | input_report_abs(input_dev, ABS_X, x); |
377 | input_report_abs(input_dev, ABS_Y, y); | 377 | input_report_abs(input_dev, ABS_Y, y); |
378 | input_report_abs(input_dev, ABS_PRESSURE, Rt); | ||
379 | sync = 1; | 378 | sync = 1; |
380 | } | 379 | } |
381 | if (sync) | 380 | |
381 | if (sync) { | ||
382 | input_report_abs(input_dev, ABS_PRESSURE, Rt); | ||
382 | input_sync(input_dev); | 383 | input_sync(input_dev); |
384 | } | ||
383 | 385 | ||
384 | #ifdef VERBOSE | 386 | #ifdef VERBOSE |
385 | if (Rt || ts->pendown) | 387 | if (Rt || ts->pendown) |