mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 08:46:43 +07:00
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>
This commit is contained in:
parent
0d9d93c411
commit
8d04ddb64c
@ -761,6 +761,13 @@ static void i8042_controller_reset(void)
|
||||
{
|
||||
i8042_flush();
|
||||
|
||||
/*
|
||||
* Disable both KBD and AUX interfaces so they don't get in the way
|
||||
*/
|
||||
|
||||
i8042_ctr |= I8042_CTR_KBDDIS | I8042_CTR_AUXDIS;
|
||||
i8042_ctr &= ~(I8042_CTR_KBDINT | I8042_CTR_AUXINT);
|
||||
|
||||
/*
|
||||
* Disable MUX mode if present.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user