As discussed in issues/38619, this commit aims to simplify device power management. It was removed PM_DEVICE_SATE_LOW_POWER. The power subsystem now doesn't need to figure out which device state to use of a given system power state. It just suspend and resume devices. Devices now just need to respond to ACTIVE and SUSPEND and OFF actions and they are free to use any particular substate they have when the subsystem asks to suspend. They also don't need to worry about states transitions (unless they have multiple substates) because the system will just request them to suspend if they are active and vice-versa. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com> rebase |
||
|---|---|---|
| .. | ||
| device_runtime.h | ||
| device.h | ||
| pm.h | ||
| policy.h | ||
| state.h | ||