Skip to content
Snippets Groups Projects
Commit 857f39d7 authored by Urja Rannikko's avatar Urja Rannikko Committed by Kever Yang
Browse files

sysreset: switch to using SYSRESET_POWER_OFF for poweroff


It seems that SYSRESET_POWER_OFF was added recently, and all previous code
used SYSRESET_POWER for poweroff. SYSRESET_POWER is supposed to be a
PMIC-level power cycle, not a poweroff.

(Comment by Simon Glass)
SYSRESET_POWER means to do a power reset (removing and reinstating all power)
SYSRESET_POWER_OFF means to turn the device off and leave it off

Signed-off-by: default avatarUrja Rannikko <urjaman@gmail.com>
Reviewed-by: default avatarPatrick Delaunay <patrick.delaunay@st.com>
(Update comment to help understand the patch)
Signed-off-by: default avatarKever Yang <kever.yang@rock-chips.com>
parent 7ba79f26
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment