xtensa: ISS: change keyboard polling rate
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 17 Sep 2012 01:44:46 +0000 (05:44 +0400)
committerChris Zankel <chris@zankel.net>
Wed, 3 Oct 2012 22:12:14 +0000 (15:12 -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 daee86cdf0cc90d62dcf4b16d473aba5f69a363a..3fc152292499871ceef24c4a9151fc4196eb0a00 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;