Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 40c37213 authored by Denny Priebe's avatar Denny Priebe Committed by Linus Torvalds
Browse files

[PATCH] Input: wacom - fix X axis setup



This patch fixes a typo introduced by conversion to dynamic input_dev
allocation.

Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ae5536d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);