aboutsummaryrefslogtreecommitdiffstats
path: root/i2c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2005-11-23 14:34:10 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2005-11-23 14:34:10 -0800
commitf5fdb9b98ea0c566f299a8cbd9b3b9f65020f5d8 (patch)
treeea4d73f274bbe6e9a3e6a50aa1d0e018655e396a /i2c
parentb493d45d58c5b347d2d62f8aa18dec9a8dea6032 (diff)
downloadpatches-f5fdb9b98ea0c566f299a8cbd9b3b9f65020f5d8.tar.gz
usb, pci, and other patches
Diffstat (limited to 'i2c')
-rw-r--r--i2c/hwmon-hdaps-missing-an-axis.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/i2c/hwmon-hdaps-missing-an-axis.patch b/i2c/hwmon-hdaps-missing-an-axis.patch
new file mode 100644
index 0000000000000..200fa2bca3bcb
--- /dev/null
+++ b/i2c/hwmon-hdaps-missing-an-axis.patch
@@ -0,0 +1,32 @@
+From khali@linux-fr.org Tue Nov 22 14:14:25 2005
+Date: Tue, 22 Nov 2005 23:12:41 +0100
+From: Jean Delvare <khali@linux-fr.org>
+To: Greg KH <greg@kroah.com>
+Cc: Robert Love <rml@novell.com>
+Subject: hwmon: hdaps missing an axis
+Message-Id: <20051122231241.62b51406.khali@linux-fr.org>
+Content-Disposition: inline; filename=hwmon-hdaps-missing-an-axis.patch
+
+From: Eugeniy Meshcheryakov <eugen@univ.kiev.ua>
+
+Trivial patch to report both hdaps axises to the joystick device, not
+just the X axis.
+
+Signed-off-by: Robert Love <rml@novell.com>
+Signed-off-by: Jean Delvare <khali@linux-fr.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
+---
+ drivers/hwmon/hdaps.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- gregkh-2.6.orig/drivers/hwmon/hdaps.c
++++ gregkh-2.6/drivers/hwmon/hdaps.c
+@@ -570,7 +570,7 @@ static int __init hdaps_init(void)
+ hdaps_idev->evbit[0] = BIT(EV_ABS);
+ input_set_abs_params(hdaps_idev, ABS_X,
+ -256, 256, HDAPS_INPUT_FUZZ, HDAPS_INPUT_FLAT);
+- input_set_abs_params(hdaps_idev, ABS_X,
++ input_set_abs_params(hdaps_idev, ABS_Y,
+ -256, 256, HDAPS_INPUT_FUZZ, HDAPS_INPUT_FLAT);
+
+ input_register_device(hdaps_idev);