projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf61c88
)
Input: egalax_ts - ABS_MT_POSITION_Y not reported well
author
Heiko Abraham
<abrahamh@web.de>
Mon, 6 May 2013 02:49:49 +0000
(19:49 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Mon, 6 May 2013 03:13:10 +0000
(20:13 -0700)
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>
drivers/input/touchscreen/egalax_ts.c
patch
|
blob
|
history
diff --git
a/drivers/input/touchscreen/egalax_ts.c
b/drivers/input/touchscreen/egalax_ts.c
index 17c9097f3b5ddddd40fad74345b1d2376c4ada7a..39f3df8670c311ec2373ec4ddad585ce4217743b 100644
(file)
--- 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,
input_set_abs_params(input_dev,
ABS_MT_POSITION_X, 0, EGALAX_MAX_X, 0, 0);
input_set_abs_params(input_dev,
- ABS_MT_POSITION_
X
, 0, EGALAX_MAX_Y, 0, 0);
+ ABS_MT_POSITION_
Y
, 0, EGALAX_MAX_Y, 0, 0);
input_mt_init_slots(input_dev, MAX_SUPPORT_POINTS, 0);
input_set_drvdata(input_dev, ts);