diff options
author | Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> | 2014-10-24 15:34:39 -0700 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-11-19 23:15:29 +0100 |
commit | 05b598ab439ca2aaff4930d45ec74062f484d52e (patch) | |
tree | 97d9239fcb2f8e888077c1eee21db01645f1e4ca | |
parent | 937d4c93ad018deb95c363ed469ed3b228e6e24e (diff) | |
download | lwn-05b598ab439ca2aaff4930d45ec74062f484d52e.tar.gz lwn-05b598ab439ca2aaff4930d45ec74062f484d52e.zip |
Input: wm97xx - adapt parameters to tosa touchscreen.
commit 859abd1d59e2db07d2e4db27074fc33568353d11 upstream.
Sharp SL-6000 (tosa) touchscreen needs wider limits to properly map all
points on the screen. Expand ranges in abs_x and abs_y arrays according
to the touchscreen area.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
-rw-r--r-- | drivers/input/touchscreen/wm97xx-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/wm97xx-core.c b/drivers/input/touchscreen/wm97xx-core.c index 7e45c9f6e6b7..b08c16bd816e 100644 --- a/drivers/input/touchscreen/wm97xx-core.c +++ b/drivers/input/touchscreen/wm97xx-core.c @@ -70,11 +70,11 @@ * Documentation/input/input-programming.txt for more details. */ -static int abs_x[3] = {350, 3900, 5}; +static int abs_x[3] = {150, 4000, 5}; module_param_array(abs_x, int, NULL, 0); MODULE_PARM_DESC(abs_x, "Touchscreen absolute X min, max, fuzz"); -static int abs_y[3] = {320, 3750, 40}; +static int abs_y[3] = {200, 4000, 40}; module_param_array(abs_y, int, NULL, 0); MODULE_PARM_DESC(abs_y, "Touchscreen absolute Y min, max, fuzz"); |