Commit de9ce703 authored by Dmitry Torokhov's avatar 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: default avatarDmitry Torokhov <dtor@mail.ru>
parent 6d2750c1
This diff is collapsed.
...@@ -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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment