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: wacom - fix X 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

Denny Priebe and committed by
Linus Torvalds
40c37213 ae5536d6

+1 -1
+1 -1
drivers/usb/input/wacom.c
··· 854 854 855 855 input_dev->evbit[0] |= BIT(EV_KEY) | BIT(EV_ABS); 856 856 input_dev->keybit[LONG(BTN_DIGI)] |= BIT(BTN_TOOL_PEN) | BIT(BTN_TOUCH) | BIT(BTN_STYLUS); 857 - input_set_abs_params(input_dev, ABS_X, 0, wacom->features->y_max, 4, 0); 857 + input_set_abs_params(input_dev, ABS_X, 0, wacom->features->x_max, 4, 0); 858 858 input_set_abs_params(input_dev, ABS_Y, 0, wacom->features->y_max, 4, 0); 859 859 input_set_abs_params(input_dev, ABS_PRESSURE, 0, wacom->features->pressure_max, 0, 0); 860 860