Deleted Added
full compact
hwsleep.c (204773) hwsleep.c (204920)
1
2/******************************************************************************
3 *
4 * Name: hwsleep.c - ACPI Hardware Sleep/Wake Interface
5 *
6 *****************************************************************************/
7
8/******************************************************************************

--- 460 unchanged lines hidden (view full) ---

469 do
470 {
471 Status = AcpiReadBitRegister (ACPI_BITREG_WAKE_STATUS, &InValue);
472 if (ACPI_FAILURE (Status))
473 {
474 return_ACPI_STATUS (Status);
475 }
476
1
2/******************************************************************************
3 *
4 * Name: hwsleep.c - ACPI Hardware Sleep/Wake Interface
5 *
6 *****************************************************************************/
7
8/******************************************************************************

--- 460 unchanged lines hidden (view full) ---

469 do
470 {
471 Status = AcpiReadBitRegister (ACPI_BITREG_WAKE_STATUS, &InValue);
472 if (ACPI_FAILURE (Status))
473 {
474 return_ACPI_STATUS (Status);
475 }
476
477 /*
478 * Some BIOSs don't set WAK_STS at all. Give up waiting after
479 * 1000 retries if it still isn't set.
480 */
481 if (Retry-- == 0)
477 if (AcpiGbl_EnableInterpreterSlack)
482 {
478 {
483 break;
479 /*
480 * Some BIOSs don't set WAK_STS at all. Give up waiting after
481 * 1000 retries if it still isn't set.
482 */
483 if (Retry-- == 0)
484 {
485 break;
486 }
484 }
485
486 /* Spin until we wake */
487
488 } while (!InValue);
489
490 return_ACPI_STATUS (AE_OK);
491}

--- 231 unchanged lines hidden ---
487 }
488
489 /* Spin until we wake */
490
491 } while (!InValue);
492
493 return_ACPI_STATUS (AE_OK);
494}

--- 231 unchanged lines hidden ---