diff options
Diffstat (limited to 'drivers/input/serio/i8042.c')
-rw-r--r-- | drivers/input/serio/i8042.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c index f58513160480..9e486502c03f 100644 --- a/drivers/input/serio/i8042.c +++ b/drivers/input/serio/i8042.c | |||
@@ -61,6 +61,10 @@ static bool i8042_noloop; | |||
61 | module_param_named(noloop, i8042_noloop, bool, 0); | 61 | module_param_named(noloop, i8042_noloop, bool, 0); |
62 | MODULE_PARM_DESC(noloop, "Disable the AUX Loopback command while probing for the AUX port"); | 62 | MODULE_PARM_DESC(noloop, "Disable the AUX Loopback command while probing for the AUX port"); |
63 | 63 | ||
64 | static bool i8042_notimeout; | ||
65 | module_param_named(notimeout, i8042_notimeout, bool, 0); | ||
66 | MODULE_PARM_DESC(notimeout, "Ignore timeouts signalled by i8042"); | ||
67 | |||
64 | #ifdef CONFIG_X86 | 68 | #ifdef CONFIG_X86 |
65 | static bool i8042_dritek; | 69 | static bool i8042_dritek; |
66 | module_param_named(dritek, i8042_dritek, bool, 0); | 70 | module_param_named(dritek, i8042_dritek, bool, 0); |
@@ -503,7 +507,7 @@ static irqreturn_t i8042_interrupt(int irq, void *dev_id) | |||
503 | } else { | 507 | } else { |
504 | 508 | ||
505 | dfl = ((str & I8042_STR_PARITY) ? SERIO_PARITY : 0) | | 509 | dfl = ((str & I8042_STR_PARITY) ? SERIO_PARITY : 0) | |
506 | ((str & I8042_STR_TIMEOUT) ? SERIO_TIMEOUT : 0); | 510 | ((str & I8042_STR_TIMEOUT && !i8042_notimeout) ? SERIO_TIMEOUT : 0); |
507 | 511 | ||
508 | port_no = (str & I8042_STR_AUXDATA) ? | 512 | port_no = (str & I8042_STR_AUXDATA) ? |
509 | I8042_AUX_PORT_NO : I8042_KBD_PORT_NO; | 513 | I8042_AUX_PORT_NO : I8042_KBD_PORT_NO; |