浏览代码

Input: i8042 - get rid of polling timer

Remove polling timer that was used to detect keybord/mice hotplug and
register both IRQs right away instead of waiting for a driver to
attach to a port.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Dmitry Torokhov 18 年之前
父节点
当前提交
de9ce703c6
共有 2 个文件被更改,包括 383 次插入359 次删除
  1. 383 350
      drivers/input/serio/i8042.c
  2. 0 9
      drivers/input/serio/i8042.h

文件差异内容过多而无法显示
+ 383 - 350
drivers/input/serio/i8042.c


+ 0 - 9
drivers/input/serio/i8042.h

@@ -36,15 +36,6 @@
 
 
 #define I8042_CTL_TIMEOUT	10000
 #define I8042_CTL_TIMEOUT	10000
 
 
-/*
- * When the device isn't opened and it's interrupts aren't used, we poll it at
- * regular intervals to see if any characters arrived. If yes, we can start
- * probing for any mouse / keyboard connected. This is the period of the
- * polling.
- */
-
-#define I8042_POLL_PERIOD	HZ/20
-
 /*
 /*
  * Status register bits.
  * Status register bits.
  */
  */

部分文件因为文件数量过多而无法显示