Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172767
b: refs/heads/master
c: 8e431ed
h: refs/heads/master
i:
  172765: 344a4dc
  172763: ecbc655
  172759: fba4858
  172751: 4ca5363
  172735: 93974aa
v: v3
  • Loading branch information
Sanjeev Premi authored and Kevin Hilman committed Nov 11, 2009
1 parent b83692f commit 5d32800
Show file tree
Hide file tree
Showing 2 changed files with 10 additions 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: 06d8f065b3bac1673825be744d22742ad72f9c2a
refs/heads/master: 8e431edb60ef175e6aa986e8260b23cc267a13fb
18 changes: 9 additions & 9 deletions trunk/arch/arm/mach-omap2/cpuidle34xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@

#ifdef CONFIG_CPU_IDLE

#define OMAP3_MAX_STATES 8
#define OMAP3_STATE_C1 1 /* C1 - MPU WFI + Core active */
#define OMAP3_STATE_C2 2 /* C2 - MPU WFI + Core inactive */
#define OMAP3_STATE_C3 3 /* C3 - MPU CSWR + Core inactive */
#define OMAP3_STATE_C4 4 /* C4 - MPU OFF + Core iactive */
#define OMAP3_STATE_C5 5 /* C5 - MPU RET + Core RET */
#define OMAP3_STATE_C6 6 /* C6 - MPU OFF + Core RET */
#define OMAP3_STATE_C7 7 /* C7 - MPU OFF + Core OFF */
#define OMAP3_MAX_STATES 7
#define OMAP3_STATE_C1 0 /* C1 - MPU WFI + Core active */
#define OMAP3_STATE_C2 1 /* C2 - MPU WFI + Core inactive */
#define OMAP3_STATE_C3 2 /* C3 - MPU CSWR + Core inactive */
#define OMAP3_STATE_C4 3 /* C4 - MPU OFF + Core iactive */
#define OMAP3_STATE_C5 4 /* C5 - MPU RET + Core RET */
#define OMAP3_STATE_C6 5 /* C6 - MPU OFF + Core RET */
#define OMAP3_STATE_C7 6 /* C7 - MPU OFF + Core OFF */

struct omap3_processor_cx {
u8 valid;
Expand Down Expand Up @@ -279,7 +279,7 @@ int __init omap3_idle_init(void)

dev = &per_cpu(omap3_idle_dev, smp_processor_id());

for (i = 1; i < OMAP3_MAX_STATES; i++) {
for (i = OMAP3_STATE_C1; i < OMAP3_MAX_STATES; i++) {
cx = &omap3_power_states[i];
state = &dev->states[count];

Expand Down

0 comments on commit 5d32800

Please sign in to comment.