diff options
| author | Heiko Abraham <abrahamh@web.de> | 2013-05-05 22:49:49 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-05-05 23:13:10 -0400 |
| commit | 3c9cfa782e075cc2348b949ba139911aac02c7cb (patch) | |
| tree | 29fda326846f3e20e193221d4d62e505b3ee93e8 | |
| parent | bf61c8840efe60fd8f91446860b63338fb424158 (diff) | |
Input: egalax_ts - ABS_MT_POSITION_Y not reported well
The egalax_ts touchscreen modul not report ABS_MT_POSITION_Y proper.
As result it may be, that upper software levels only receive x coordinates well.
Signed-off-by: Heiko Abraham <abrahamh@web.de>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
| -rw-r--r-- | drivers/input/touchscreen/egalax_ts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/egalax_ts.c b/drivers/input/touchscreen/egalax_ts.c index 17c9097f3b5d..39f3df8670c3 100644 --- a/drivers/input/touchscreen/egalax_ts.c +++ b/drivers/input/touchscreen/egalax_ts.c | |||
| @@ -216,7 +216,7 @@ static int egalax_ts_probe(struct i2c_client *client, | |||
| 216 | input_set_abs_params(input_dev, | 216 | input_set_abs_params(input_dev, |
| 217 | ABS_MT_POSITION_X, 0, EGALAX_MAX_X, 0, 0); | 217 | ABS_MT_POSITION_X, 0, EGALAX_MAX_X, 0, 0); |
| 218 | input_set_abs_params(input_dev, | 218 | input_set_abs_params(input_dev, |
| 219 | ABS_MT_POSITION_X, 0, EGALAX_MAX_Y, 0, 0); | 219 | ABS_MT_POSITION_Y, 0, EGALAX_MAX_Y, 0, 0); |
| 220 | input_mt_init_slots(input_dev, MAX_SUPPORT_POINTS, 0); | 220 | input_mt_init_slots(input_dev, MAX_SUPPORT_POINTS, 0); |
| 221 | 221 | ||
| 222 | input_set_drvdata(input_dev, ts); | 222 | input_set_drvdata(input_dev, ts); |
