Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 59250
b: refs/heads/master
c: f3ebbc2
h: refs/heads/master
v: v3
  • Loading branch information
Russell King authored and Russell King committed Jul 12, 2007
1 parent ddbf73c commit 202097d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 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: d1cbbd6b413510c6512f4f80ffd48db1a8dd554a
refs/heads/master: f3ebbc20ab835ff98cf920f85de989064e352ee5
9 changes: 0 additions & 9 deletions trunk/arch/arm/mach-sa1100/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,7 @@ enum { SLEEP_SAVE_SP = 0,
static int sa11x0_pm_enter(suspend_state_t state)
{
unsigned long gpio, sleep_save[SLEEP_SAVE_SIZE];
struct timespec delta, rtc;

/* preserve current time */
rtc.tv_sec = RCNR;
rtc.tv_nsec = 0;
save_time_delta(&delta, &rtc);
gpio = GPLR;

/* save vital registers */
Expand Down Expand Up @@ -119,10 +114,6 @@ static int sa11x0_pm_enter(suspend_state_t state)
*/
PSSR = PSSR_PH;

/* restore current time */
rtc.tv_sec = RCNR;
restore_time_delta(&delta, &rtc);

return 0;
}

Expand Down

0 comments on commit 202097d

Please sign in to comment.