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:
ae5536d
)
[PATCH] Input: wacom - fix X axis setup
author
Denny Priebe
<spamtrap@siglost.org>
Fri, 30 Dec 2005 03:19:09 +0000
(22:19 -0500)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 30 Dec 2005 16:20:26 +0000
(08:20 -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/wacom.c
patch
|
blob
|
history
diff --git
a/drivers/usb/input/wacom.c
b/drivers/usb/input/wacom.c
index
aea1cfa
..
dc099bb
100644
(file)
--- a/
drivers/usb/input/wacom.c
+++ b/
drivers/usb/input/wacom.c
@@
-854,7
+854,7
@@
static int wacom_probe(struct usb_interface *intf, const struct usb_device_id *i
input_dev->evbit[0] |= BIT(EV_KEY) | BIT(EV_ABS);
input_dev->keybit[LONG(BTN_DIGI)] |= BIT(BTN_TOOL_PEN) | BIT(BTN_TOUCH) | BIT(BTN_STYLUS);
- input_set_abs_params(input_dev, ABS_X, 0, wacom->features->
y
_max, 4, 0);
+ input_set_abs_params(input_dev, ABS_X, 0, wacom->features->
x
_max, 4, 0);
input_set_abs_params(input_dev, ABS_Y, 0, wacom->features->y_max, 4, 0);
input_set_abs_params(input_dev, ABS_PRESSURE, 0, wacom->features->pressure_max, 0, 0);