mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 07:01:57 +00:00
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:
parent
6d2750c167
commit
de9ce703c6
File diff suppressed because it is too large
Load Diff
@ -36,15 +36,6 @@
|
||||
|
||||
#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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user