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: warrior - fix HAT0Y 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
ae5536d6 19947544

+1 -1
+1 -1
drivers/input/joystick/warrior.c
··· 172 172 input_set_abs_params(input_dev, ABS_Y, -64, 64, 0, 8); 173 173 input_set_abs_params(input_dev, ABS_THROTTLE, -112, 112, 0, 0); 174 174 input_set_abs_params(input_dev, ABS_HAT0X, -1, 1, 0, 0); 175 - input_set_abs_params(input_dev, ABS_HAT0X, -1, 1, 0, 0); 175 + input_set_abs_params(input_dev, ABS_HAT0Y, -1, 1, 0, 0); 176 176 177 177 serio_set_drvdata(serio, warrior); 178 178