瀏覽代碼

xtensa: ISS: change keyboard polling rate

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>
Max Filippov 13 年之前
父節點
當前提交
8bac83289a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/xtensa/platforms/iss/console.c

+ 1 - 1
arch/xtensa/platforms/iss/console.c

@@ -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;