Skip to content

Commit

Permalink
s5pv310: cpuidle: Bring back some small things from the old code
Browse files Browse the repository at this point in the history
The old code has a few more items in its save/restore list

These might be why some people have reported SoDs with rare circumstances
over the past month.

Signed-off-by: Andrew Dodd <atd7@cornell.edu>
  • Loading branch information
Entropy512 committed Mar 3, 2012
1 parent 5e8586c commit 2257adf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions arch/arm/mach-s5pv310/cpuidle.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,11 @@ static struct sleep_save s5pv310_lpa_save[] = {

static struct sleep_save s5pv310_aftr[] = {
{ .reg = S5P_ARM_CORE0_LOWPWR , .val = 0x0, },
{ .reg = S5P_DIS_IRQ_CORE0 , .val = 0x0, },
{ .reg = S5P_DIS_IRQ_CENTRAL0 , .val = 0x0, },
{ .reg = S5P_ARM_CORE1_LOWPWR , .val = 0x0, },
{ .reg = S5P_DIS_IRQ_CORE1 , .val = 0x0, },
{ .reg = S5P_DIS_IRQ_CENTRAL1 , .val = 0x0, },
{ .reg = S5P_ARM_COMMON_LOWPWR , .val = 0x0, },
{ .reg = S5P_L2_0_LOWPWR , .val = 0x2, },
{ .reg = S5P_L2_1_LOWPWR , .val = 0x2, },
Expand Down Expand Up @@ -253,7 +257,11 @@ static struct sleep_save s5pv310_aftr[] = {

static struct sleep_save s5pv310_lpa[] = {
{ .reg = S5P_ARM_CORE0_LOWPWR , .val = 0x0, },
{ .reg = S5P_DIS_IRQ_CORE0 , .val = 0x0, },
{ .reg = S5P_DIS_IRQ_CENTRAL0 , .val = 0x0, },
{ .reg = S5P_ARM_CORE1_LOWPWR , .val = 0x0, },
{ .reg = S5P_DIS_IRQ_CORE1 , .val = 0x0, },
{ .reg = S5P_DIS_IRQ_CENTRAL1 , .val = 0x0, },
{ .reg = S5P_ARM_COMMON_LOWPWR , .val = 0x0, },
{ .reg = S5P_L2_0_LOWPWR , .val = 0x2, },
{ .reg = S5P_L2_1_LOWPWR , .val = 0x2, },
Expand Down

0 comments on commit 2257adf

Please sign in to comment.