kbc: Reduce timeout from 10ms to 1ms

Fix ACPI timeout and delay on S3 resume when holding a key.

A timeout greater than 1ms results in the excessive delay (~10s) still
occurring on an oryp5 (IT8587).
This commit is contained in:
Tim Crawford
2021-05-13 11:00:36 -06:00
committed by Jeremy Soller
parent aa880033e3
commit 285d622fbc

View File

@ -22,7 +22,7 @@ void kbc_init(void) {
*(KBC.status) = BIT(4); *(KBC.status) = BIT(4);
} }
#define KBC_TIMEOUT 10000 #define KBC_TIMEOUT 1000
// Enable first port - TODO // Enable first port - TODO
static bool kbc_first = false; static bool kbc_first = false;