提交 de9ce703 编写于 作者: D Dmitry Torokhov

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: NDmitry Torokhov <dtor@mail.ru>
上级 6d2750c1
此差异已折叠。
...@@ -36,15 +36,6 @@ ...@@ -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.
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册