Input patches for 2.6.15
Subsystems (2)
cover Input patches for 2.6.15
Hi Linus,
Here are 3 tiny input patches correcting typos introduced by conversion to dynamic input_dev allocation.
input/joystick/warrior.c | 2 +- usb/input/kbtab.c | 2 +- usb/input/wacom.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
--
Dmitry
PATCH 1/3 Input: kbtab - fix Y axis setup
This patch fixes a typo introduced by conversion to dynamic input_dev allocation.
Signed-off-by Dmitry Torokhov <[email protected]>
---
drivers/usb/input/kbtab.c +1 -1
@@ -159,7 +159,7 @@ static int kbtab_probe(struct usb_interf 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;
PATCH 2/3 Input: warrior - fix HAT0Y axis setup
In reply to Dmitry TorokhovThis patch fixes a typo introduced by conversion to dynamic input_dev allocation.
Signed-off-by Dmitry Torokhov <[email protected]>
---
drivers/input/joystick/warrior.c +1 -1
@@ -172,7 +172,7 @@ static int warrior_connect(struct serioinput_set_abs_params (input_dev,ABS_Y ,-64 ,64 ,0 ,8 );input_set_abs_params (input_dev,ABS_THROTTLE ,-112 ,112 ,0 ,0 );input_set_abs_params (input_dev,ABS_HAT0X ,-1 ,1 ,0 ,0 ); -input_set_abs_params (input_dev,ABS_HAT0X ,-1 ,1 ,0 ,0 ); +input_set_abs_params (input_dev,ABS_HAT0Y ,-1 ,1 ,0 ,0 );serio_set_drvdata (serio, warrior);
PATCH 3/3 Input: wacom - fix X axis setup
In reply to Dmitry TorokhovFrom: Denny Priebe <[email protected]>
This patch fixes a typo introduced by conversion to dynamic input_dev allocation.
Signed-off-by Dmitry Torokhov <[email protected]>
---
drivers/usb/input/wacom.c +1 -1
@@ -854,7 +854,7 @@ static int wacom_probe(struct usb_interf 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 );