[ 3.5.y.z extended stable ] Patch "Input: egalax_ts - ABS_MT_POSITION_Y not reported well" has been added to staging queue
Luis Henriques
luis.henriques at canonical.com
Tue May 28 09:51:07 UTC 2013
This is a note to let you know that I have just added a patch titled
Input: egalax_ts - ABS_MT_POSITION_Y not reported well
to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree
which can be found at:
http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.5.y-queue
If you, or anyone else, feels it should not be added to this tree, please
reply to this email.
For more information about the 3.5.y.z tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable
Thanks.
-Luis
------
>From e80a1ce8875265aa04de8f1b494b3de8c1ceacc5 Mon Sep 17 00:00:00 2001
From: Heiko Abraham <abrahamh at web.de>
Date: Sun, 5 May 2013 19:49:49 -0700
Subject: [PATCH] Input: egalax_ts - ABS_MT_POSITION_Y not reported well
commit 3c9cfa782e075cc2348b949ba139911aac02c7cb upstream.
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 at web.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov at gmail.com>
[ luis: adjust context ]
Signed-off-by: Luis Henriques <luis.henriques at canonical.com>
---
drivers/input/touchscreen/egalax_ts.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/touchscreen/egalax_ts.c b/drivers/input/touchscreen/egalax_ts.c
index 70524dd..be2a271 100644
--- a/drivers/input/touchscreen/egalax_ts.c
+++ b/drivers/input/touchscreen/egalax_ts.c
@@ -203,7 +203,7 @@ static int __devinit 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);
input_set_drvdata(input_dev, ts);
--
1.8.1.2
More information about the kernel-team
mailing list