Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 258239
b: refs/heads/master
c: dbc1251
h: refs/heads/master
i:
  258237: d913cdd
  258235: 07110c4
  258231: 6dd3cca
  258223: ffe811f
  258207: 5dcf7cf
  258175: b298378
v: v3
  • Loading branch information
Russell King committed Jun 24, 2011
1 parent abcadf7 commit 3a37963
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 3799bbe57843d279008c9ec3406838966cad5f15
refs/heads/master: dbc125168fd7dda4ffb24a29548746c7bd3b3d87
8 changes: 4 additions & 4 deletions trunk/arch/arm/mach-pxa/sleep.S
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ ENTRY(pxa27x_cpu_suspend)
mra r2, r3, acc0
#endif
stmfd sp!, {r2 - r12, lr} @ save registers on stack
mov r4, r0 @ save sleep mode
mov r2, r0 @ save sleep mode
ldr r3, =pxa_cpu_resume @ resume function
bl cpu_suspend

@ Put the processor to sleep
@ (also workaround for sighting 28071)

@ prepare value for sleep mode
mov r1, r4 @ sleep mode
mov r1, r0 @ sleep mode

@ prepare pointer to physical address 0 (virtual mapping in generic.c)
mov r2, #UNCACHED_PHYS_0
Expand Down Expand Up @@ -109,11 +109,11 @@ ENTRY(pxa27x_cpu_suspend)

ENTRY(pxa25x_cpu_suspend)
stmfd sp!, {r2 - r12, lr} @ save registers on stack
mov r4, r0 @ save sleep mode
mov r2, r0 @ save sleep mode
ldr r3, =pxa_cpu_resume @ resume function
bl cpu_suspend
@ prepare value for sleep mode
mov r1, r4 @ sleep mode
mov r1, r0 @ sleep mode

@ prepare pointer to physical address 0 (virtual mapping in generic.c)
mov r2, #UNCACHED_PHYS_0
Expand Down

0 comments on commit 3a37963

Please sign in to comment.