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:
9e625ff
)
[PATCH] Input: kbtab - fix Y axis setup
author
Dmitry Torokhov
<dtor_core@ameritech.net>
Fri, 30 Dec 2005 03:19:07 +0000
(22:19 -0500)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 30 Dec 2005 16:20:25 +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/kbtab.c
patch
|
blob
|
history
diff --git
a/drivers/usb/input/kbtab.c
b/drivers/usb/input/kbtab.c
index a248664b5d1d011549ad140d573cccb9ddad96a4..fd48e74e78ed362bc158c2561bbb3dec07cd4b14 100644
(file)
--- a/
drivers/usb/input/kbtab.c
+++ b/
drivers/usb/input/kbtab.c
@@
-159,7
+159,7
@@
static int kbtab_probe(struct usb_interface *intf, const struct usb_device_id *i
input_dev->keybit[LONG(BTN_DIGI)] |= BIT(BTN_TOOL_PEN) | BIT(BTN_TOUCH);
input_dev->mscbit[0] |= BIT(MSC_SERIAL);
input_set_abs_params(input_dev, ABS_X, 0, 0x2000, 4, 0);
- input_set_abs_params(input_dev, ABS_
X
, 0, 0x1750, 4, 0);
+ input_set_abs_params(input_dev, ABS_
Y
, 0, 0x1750, 4, 0);
input_set_abs_params(input_dev, ABS_PRESSURE, 0, 0xff, 0, 0);
endpoint = &intf->cur_altsetting->endpoint[0].desc;