This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

how to switch to power state 0 when wake up from suspend mode

Hi, all

I now tested the suspend/wakeup for evm2 board. when pressed pwr_on button, it will enter suspend state. And output the below debug message

"kernel IOCTL_POWER_SET setting state 3"

and when pressed the pwr_on button again, it will wakeup, and output the below debug message

"kernel IOCTL_POWER_SET setting state 2"

My question is how to directlly  switch to power state 0 not 2 when wake up, that is output  the below debug message:

"kernel IOCTL_POWER_SET setting state 0"