Skip to content

Commit

Permalink
Input: tsc40 - remove wrong announcement of pressure support
Browse files Browse the repository at this point in the history
The tsc40 driver announces it supports the pressure event, but will never
send one. The announcement will cause tslib to wait for such events and
sending all touch events with a pressure of 0. Removing the announcement
will make tslib fall back to emulating the pressure on touch events so
everything works as expected.

Signed-off-by: Rolf Eike Beer <[email protected]>
Cc: [email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
  • Loading branch information
DerDakon authored and dtor committed Oct 31, 2012
1 parent e07577e commit 32ed191
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/input/touchscreen/tsc40.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ static int tsc_connect(struct serio *serio, struct serio_driver *drv)
__set_bit(BTN_TOUCH, input_dev->keybit);
input_set_abs_params(ptsc->dev, ABS_X, 0, 0x3ff, 0, 0);
input_set_abs_params(ptsc->dev, ABS_Y, 0, 0x3ff, 0, 0);
input_set_abs_params(ptsc->dev, ABS_PRESSURE, 0, 0, 0, 0);

serio_set_drvdata(serio, ptsc);

Expand Down

0 comments on commit 32ed191

Please sign in to comment.