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>
This commit is contained in:
+394
-359
File diff suppressed because it is too large
Load Diff
@@ -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.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user