mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch 0/3] Input patches for 2.6.15
@ 2005-12-30  3:19 Dmitry Torokhov
  2005-12-30  3:19 ` [patch 1/3] Input: kbtab - fix Y axis setup Dmitry Torokhov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dmitry Torokhov @ 2005-12-30  3:19 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [patch 1/3] Input: kbtab - fix Y axis setup
  2005-12-30  3:19 [patch 0/3] Input patches for 2.6.15 Dmitry Torokhov
@ 2005-12-30  3:19 ` Dmitry Torokhov
  2005-12-30  3:19 ` [patch 2/3] Input: warrior - fix HAT0Y " Dmitry Torokhov
  2005-12-30  3:19 ` [patch 3/3] Input: wacom - fix X " Dmitry Torokhov
  2 siblings, 0 replies; 4+ messages in thread
From: Dmitry Torokhov @ 2005-12-30  3:19 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML

[-- Attachment #1: kbtab-axis-fix.patch --]
[-- Type: text/plain, Size: 792 bytes --]

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

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
---

Index: work/drivers/usb/input/kbtab.c
===================================================================
--- work.orig/drivers/usb/input/kbtab.c
+++ work/drivers/usb/input/kbtab.c
@@ -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;


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [patch 2/3] Input: warrior - fix HAT0Y axis setup
  2005-12-30  3:19 [patch 0/3] Input patches for 2.6.15 Dmitry Torokhov
  2005-12-30  3:19 ` [patch 1/3] Input: kbtab - fix Y axis setup Dmitry Torokhov
@ 2005-12-30  3:19 ` Dmitry Torokhov
  2005-12-30  3:19 ` [patch 3/3] Input: wacom - fix X " Dmitry Torokhov
  2 siblings, 0 replies; 4+ messages in thread
From: Dmitry Torokhov @ 2005-12-30  3:19 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML

[-- Attachment #1: warrior-axis-fix.patch --]
[-- Type: text/plain, Size: 739 bytes --]

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

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
---

Index: work/drivers/input/joystick/warrior.c
===================================================================
--- work.orig/drivers/input/joystick/warrior.c
+++ work/drivers/input/joystick/warrior.c
@@ -172,7 +172,7 @@ static int warrior_connect(struct serio 
 	input_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);
 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [patch 3/3] Input: wacom - fix X axis setup
  2005-12-30  3:19 [patch 0/3] Input patches for 2.6.15 Dmitry Torokhov
  2005-12-30  3:19 ` [patch 1/3] Input: kbtab - fix Y axis setup Dmitry Torokhov
  2005-12-30  3:19 ` [patch 2/3] Input: warrior - fix HAT0Y " Dmitry Torokhov
@ 2005-12-30  3:19 ` Dmitry Torokhov
  2 siblings, 0 replies; 4+ messages in thread
From: Dmitry Torokhov @ 2005-12-30  3:19 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML, Denny Priebe

[-- Attachment #1: wacom-axis-fix.patch --]
[-- Type: text/plain, Size: 883 bytes --]

From: Denny Priebe <spamtrap@siglost.org>

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

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
---

Index: work/drivers/usb/input/wacom.c
===================================================================
--- work.orig/drivers/usb/input/wacom.c
+++ work/drivers/usb/input/wacom.c
@@ -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);
 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-12-30  3:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-30  3:19 [patch 0/3] Input patches for 2.6.15 Dmitry Torokhov
2005-12-30  3:19 ` [patch 1/3] Input: kbtab - fix Y axis setup Dmitry Torokhov
2005-12-30  3:19 ` [patch 2/3] Input: warrior - fix HAT0Y " Dmitry Torokhov
2005-12-30  3:19 ` [patch 3/3] Input: wacom - fix X " Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome