You can pull this changeset from:
bk://kernel.bkbits.net/vojtech/input
===================================================================
ChangeSet@1.1363, 2003-06-21 04:36:19-07:00, devenyga@mcmaster.ca
input: Fix gameport.c - gameport was never closed after calibrating
gameport.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
===================================================================
diff -Nru a/drivers/input/gameport/gameport.c b/drivers/input/gameport/gameport.c
--- a/drivers/input/gameport/gameport.c Sat Jun 21 15:25:21 2003
+++ b/drivers/input/gameport/gameport.c Sat Jun 21 15:25:21 2003
@@ -84,6 +84,7 @@
if ((t = DELTA(t2,t1) - DELTA(t3,t2)) < tx) tx = t;
}
+ gameport_close(gameport);
return 59659 / (tx < 1 ? 1 : tx);
#else
@@ -93,11 +94,10 @@
j = jiffies; while (j == jiffies);
j = jiffies; while (j == jiffies) { t++; gameport_read(gameport); }
+ gameport_close(gameport);
return t * HZ / 1000;
#endif
-
- gameport_close(gameport);
}
static void gameport_find_dev(struct gameport *gameport)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:35 EST