Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102234
b: refs/heads/master
c: 1eede07
h: refs/heads/master
v: v3
  • Loading branch information
Rafael J. Wysocki authored and Jesse Barnes committed Jun 10, 2008
1 parent de9c1c8 commit c04c2a6
Show file tree
Hide file tree
Showing 9 changed files with 846 additions and 196 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: bb71ad880204b79d60331d3384103976e086cb9f
refs/heads/master: 1eede070a59e1cc73da51e1aaa00d9ab86572cfc
8 changes: 4 additions & 4 deletions trunk/arch/x86/kernel/apm_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -1211,9 +1211,9 @@ static int suspend(int vetoable)
if (err != APM_SUCCESS)
apm_error("suspend", err);
err = (err == APM_SUCCESS) ? 0 : -EIO;
device_power_up();
device_power_up(PMSG_RESUME);
local_irq_enable();
device_resume();
device_resume(PMSG_RESUME);
queue_event(APM_NORMAL_RESUME, NULL);
spin_lock(&user_list_lock);
for (as = user_list; as != NULL; as = as->next) {
Expand All @@ -1238,7 +1238,7 @@ static void standby(void)
apm_error("standby", err);

local_irq_disable();
device_power_up();
device_power_up(PMSG_RESUME);
local_irq_enable();
}

Expand Down Expand Up @@ -1324,7 +1324,7 @@ static void check_events(void)
ignore_bounce = 1;
if ((event != APM_NORMAL_RESUME)
|| (ignore_normal_resume == 0)) {
device_resume();
device_resume(PMSG_RESUME);
queue_event(event, NULL);
}
ignore_normal_resume = 0;
Expand Down
Loading

0 comments on commit c04c2a6

Please sign in to comment.