mirror of
https://github.com/acpica/acpica/
synced 2025-03-06 14:21:47 +03:00
remove stall while waiting for resumption from S1
date 2001.11.05.19.11.00; author agrover; state Exp;
This commit is contained in:
parent
543c7091e5
commit
26e95c8273
@ -2,7 +2,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Name: hwsleep.c - ACPI Hardware Sleep/Wake Interface
|
||||
* $Revision: 1.23 $
|
||||
* $Revision: 1.24 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -318,11 +318,8 @@ AcpiEnterSleepState (
|
||||
|
||||
/* wait until we enter sleep state */
|
||||
|
||||
do
|
||||
{
|
||||
AcpiOsStall(10000);
|
||||
}
|
||||
while (!AcpiHwRegisterBitAccess (ACPI_READ, ACPI_MTX_LOCK, WAK_STS));
|
||||
while (!AcpiHwRegisterBitAccess (ACPI_READ, ACPI_MTX_LOCK, WAK_STS))
|
||||
{ /* spin until we wake */ }
|
||||
|
||||
AcpiHwEnableNonWakeupGpes();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user