Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] Input: kbtab - fix Y axis setup

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>

authored by

Dmitry Torokhov and committed by
Linus Torvalds
19947544 9e625ff8

+1 -1
+1 -1
drivers/usb/input/kbtab.c
··· 159 159 input_dev->keybit[LONG(BTN_DIGI)] |= BIT(BTN_TOOL_PEN) | BIT(BTN_TOUCH); 160 160 input_dev->mscbit[0] |= BIT(MSC_SERIAL); 161 161 input_set_abs_params(input_dev, ABS_X, 0, 0x2000, 4, 0); 162 - input_set_abs_params(input_dev, ABS_X, 0, 0x1750, 4, 0); 162 + input_set_abs_params(input_dev, ABS_Y, 0, 0x1750, 4, 0); 163 163 input_set_abs_params(input_dev, ABS_PRESSURE, 0, 0xff, 0, 0); 164 164 165 165 endpoint = &intf->cur_altsetting->endpoint[0].desc;