OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee02594
)
[PATCH] Input: aiptek - fix Y axis setup
author
Riccardo Magliocchetti
<riccardo@datahost.it>
Thu, 29 Dec 2005 01:44:48 +0000
(20:44 -0500)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 29 Dec 2005 18:19:21 +0000
(10:19 -0800)
This patch fixes a typo introduced by conversion to dynamic input_dev
allocation.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/usb/input/aiptek.c
patch
|
blob
|
history
diff --git
a/drivers/usb/input/aiptek.c
b/drivers/usb/input/aiptek.c
index
1c3b472
..
0e2505c
100644
(file)
--- a/
drivers/usb/input/aiptek.c
+++ b/
drivers/usb/input/aiptek.c
@@
-2103,7
+2103,7
@@
aiptek_probe(struct usb_interface *intf, const struct usb_device_id *id)
* values.
*/
input_set_abs_params(inputdev, ABS_X, 0, 2999, 0, 0);
- input_set_abs_params(inputdev, ABS_
X
, 0, 2249, 0, 0);
+ input_set_abs_params(inputdev, ABS_
Y
, 0, 2249, 0, 0);
input_set_abs_params(inputdev, ABS_PRESSURE, 0, 511, 0, 0);
input_set_abs_params(inputdev, ABS_TILT_X, AIPTEK_TILT_MIN, AIPTEK_TILT_MAX, 0, 0);
input_set_abs_params(inputdev, ABS_TILT_Y, AIPTEK_TILT_MIN, AIPTEK_TILT_MAX, 0, 0);