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:
committed by
Jeremy Soller
parent
aa880033e3
commit
285d622fbc
@ -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;
|
||||||
|
Reference in New Issue
Block a user