]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
xtensa: ISS: change keyboard polling rate
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 11 Jul 2012 21:44:03 +0000 (01:44 +0400)
committerChris Zankel <chris@zankel.net>
Sat, 11 Aug 2012 04:01:11 +0000 (21:01 -0700)
Polling rate of once per 20 seconds seems to be too low. Increase it to
10 times per second.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/platforms/iss/console.c

index 5b43aa8767a2eaf7f6601034257fad256844918b..7dc0788adab28f7473e16875b6f3beef0aa19393 100644 (file)
@@ -33,7 +33,7 @@
 #endif
 
 #define SERIAL_MAX_NUM_LINES 1
-#define SERIAL_TIMER_VALUE (20 * HZ)
+#define SERIAL_TIMER_VALUE (HZ / 10)
 
 static struct tty_driver *serial_driver;
 static struct tty_port serial_port;