commit | 9444480c7b42c0324a9d8a1a531e443a862e12f1 | [log] [tgz] |
---|---|---|
author | Flavio Ceolin <flavio.ceolin@intel.com> | Sat Oct 30 23:13:08 2021 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Sat Nov 06 10:21:53 2021 -0400 |
tree | f21a329c8d7ebb2c72a1dbfe2d1111f5565cef45 | |
parent | 8c3d9afed73c855bb69f5b1152520708b9cfdc92 [diff] |
pm: Better return type for pm_system_suspend Instead of returning PM_STATE_ACTIVE for when the cpu didn't enter a low power state and a different state when it entered, but has already left the state and is active again, it changes pm_system_suspend to return true when the cpu has entered a low power state and false otherwise. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>