Skip to content

Commit

Permalink
disable deepsleep until we have ability to wake again
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Clark committed Feb 2, 2012
1 parent a4ee7e3 commit ac93ea2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ti/pm/IpcPower.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ Void IpcPower_suspend()
*/
Void IpcPower_idle()
{
REG32(M3_SCR_REG) |= 1 << DEEPSLEEP_BIT;
// TODO enable DEEPSLEEP bit only once we are using external GPT for OS tick,
// otherwise the M3 can fall asleep and never wake up
// REG32(M3_SCR_REG) |= 1 << DEEPSLEEP_BIT;
REG32(WUGEN_MEVT1) |= WUGEN_INT_MASK;
asm(" wfi");
}

0 comments on commit ac93ea2

Please sign in to comment.