Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233225
b: refs/heads/master
c: 3d9cb0e
h: refs/heads/master
i:
  233223: 74b4a5c
v: v3
  • Loading branch information
Eric Miao committed Feb 9, 2011
1 parent bf0911d commit 0f42d30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 57834a722473848338b1967f7fdd9907c713b0a7
refs/heads/master: 3d9cb0eafd024d6fc1b1583ff9b17e5f60951fd9
4 changes: 2 additions & 2 deletions trunk/arch/arm/mach-pxa/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ int pxa_pm_enter(suspend_state_t state)
#endif

/* skip registers saving for standby */
if (state != PM_SUSPEND_STANDBY) {
if (state != PM_SUSPEND_STANDBY && pxa_cpu_pm_fns->save) {
pxa_cpu_pm_fns->save(sleep_save);
/* before sleeping, calculate and save a checksum */
for (i = 0; i < pxa_cpu_pm_fns->save_count - 1; i++)
Expand All @@ -44,7 +44,7 @@ int pxa_pm_enter(suspend_state_t state)
pxa_cpu_pm_fns->enter(state);
cpu_init();

if (state != PM_SUSPEND_STANDBY) {
if (state != PM_SUSPEND_STANDBY && pxa_cpu_pm_fns->restore) {
/* after sleeping, validate the checksum */
for (i = 0; i < pxa_cpu_pm_fns->save_count - 1; i++)
checksum += sleep_save[i];
Expand Down

0 comments on commit 0f42d30

Please sign in to comment.