Explorar o código

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 %!s(int64=18) %!d(string=hai) anos
pai
achega
de9ce703c6
Modificáronse 2 ficheiros con 383 adicións e 359 borrados
  1. 383 350
      drivers/input/serio/i8042.c
  2. 0 9
      drivers/input/serio/i8042.h

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 383 - 350
drivers/input/serio/i8042.c


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

@@ -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.
  */

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio