Revert 1.24. It causes a hang on shutdown for Marcel. This is due to
AcpiEnterSleepState() calling a long AcpiOsStall() with interrupts disabled. This fix will instead be added to ACPI-CA. PR: Submitted by: Reviewed by: Approved by: Obtained from: MFC after:
This commit is contained in:
parent
7ea97b6027
commit
ae0781a1cb
@ -262,15 +262,7 @@ AcpiOsStall (UINT32 Microseconds)
|
||||
{
|
||||
ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);
|
||||
|
||||
/*
|
||||
* Maximum length for stall is 100 us. If longer, assume caller
|
||||
* really meant "sleep".
|
||||
*/
|
||||
if (Microseconds <= 100)
|
||||
DELAY(Microseconds);
|
||||
else
|
||||
AcpiOsSleep(Microseconds / 1000, Microseconds % 1000);
|
||||
|
||||
DELAY(Microseconds);
|
||||
return_VOID;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user