aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@insightbb.com>2007-04-12 01:32:09 -0400
committerDmitry Torokhov <dtor@insightbb.com>2007-04-12 01:32:09 -0400
commit8d04ddb64c7bf62aec1102fddc5336a68bcaebe9 (patch)
tree47fd8814e5b850eb706ea3ff7d066d850e818e6c /drivers
parent0d9d93c411c9351ba186f5ec910b10da7c1d9d14 (diff)
Input: i8042 - disable interfaces when switching to legacy mode
Disable both keyboard and auxiliary interfaces before switching to legacy mode to prevent atkbd from getting "empty" interrupts. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/input/serio/i8042.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c
index ec195a36e8f6..ff40b5cbbf3f 100644
--- a/drivers/input/serio/i8042.c
+++ b/drivers/input/serio/i8042.c
@@ -762,6 +762,13 @@ static void i8042_controller_reset(void)
762 i8042_flush(); 762 i8042_flush();
763 763
764/* 764/*
765 * Disable both KBD and AUX interfaces so they don't get in the way
766 */
767
768 i8042_ctr |= I8042_CTR_KBDDIS | I8042_CTR_AUXDIS;
769 i8042_ctr &= ~(I8042_CTR_KBDINT | I8042_CTR_AUXINT);
770
771/*
765 * Disable MUX mode if present. 772 * Disable MUX mode if present.
766 */ 773 */
767 774