Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 128043
b: refs/heads/master
c: 3d97e42
h: refs/heads/master
i:
  128041: f1d8245
  128039: cd27691
v: v3
  • Loading branch information
Lin Ming authored and Len Brown committed Dec 31, 2008
1 parent 424ff5f commit 98770cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 08ac07b826cfd9a9b28aa094f14e1c023bdc9864
refs/heads/master: 3d97e426aa97d60b3dac1b72923b90b491fbac20
12 changes: 6 additions & 6 deletions trunk/drivers/acpi/sleep/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ static bool set_sci_en_on_resume;
*/
static int acpi_pm_disable_gpes(void)
{
acpi_hw_disable_all_gpes();
acpi_disable_all_gpes();
return 0;
}

Expand Down Expand Up @@ -135,7 +135,7 @@ static int acpi_pm_prepare(void)
int error = __acpi_pm_prepare();

if (!error)
acpi_hw_disable_all_gpes();
acpi_disable_all_gpes();
return error;
}

Expand Down Expand Up @@ -267,7 +267,7 @@ static int acpi_suspend_enter(suspend_state_t pm_state)
* (like wakeup GPE) haven't handler, this can avoid such GPE misfire.
* acpi_leave_sleep_state will reenable specific GPEs later
*/
acpi_hw_disable_all_gpes();
acpi_disable_all_gpes();

local_irq_restore(flags);
printk(KERN_DEBUG "Back to C!\n");
Expand Down Expand Up @@ -436,7 +436,7 @@ static void acpi_hibernation_leave(void)

static void acpi_pm_enable_gpes(void)
{
acpi_hw_enable_all_runtime_gpes();
acpi_enable_all_runtime_gpes();
}

static struct platform_hibernation_ops acpi_hibernation_ops = {
Expand Down Expand Up @@ -622,7 +622,7 @@ static void acpi_power_off_prepare(void)
{
/* Prepare to power off the system */
acpi_sleep_prepare(ACPI_STATE_S5);
acpi_hw_disable_all_gpes();
acpi_disable_all_gpes();
}

static void acpi_power_off(void)
Expand Down Expand Up @@ -671,7 +671,7 @@ int __init acpi_sleep_init(void)
sleep_states[ACPI_STATE_S4] = 1;
printk(" S4");
if (!nosigcheck) {
acpi_get_table_by_index(ACPI_TABLE_INDEX_FACS,
acpi_get_table(ACPI_SIG_FACS, 1,
(struct acpi_table_header **)&facs);
if (facs)
s4_hardware_signature =
Expand Down

0 comments on commit 98770cc

Please sign in to comment.