aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/serio/i8042.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/serio/i8042.c')
-rw-r--r--drivers/input/serio/i8042.c6
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;
61module_param_named(noloop, i8042_noloop, bool, 0); 61module_param_named(noloop, i8042_noloop, bool, 0);
62MODULE_PARM_DESC(noloop, "Disable the AUX Loopback command while probing for the AUX port"); 62MODULE_PARM_DESC(noloop, "Disable the AUX Loopback command while probing for the AUX port");
63 63
64static bool i8042_notimeout;
65module_param_named(notimeout, i8042_notimeout, bool, 0);
66MODULE_PARM_DESC(notimeout, "Ignore timeouts signalled by i8042");
67
64#ifdef CONFIG_X86 68#ifdef CONFIG_X86
65static bool i8042_dritek; 69static bool i8042_dritek;
66module_param_named(dritek, i8042_dritek, bool, 0); 70module_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;