commit | bc2990f82ded5588b3e9503f5b39d6005a4cedfa | [log] [tgz] |
---|---|---|
author | Gerard Marull-Paretas <gerard.marull@nordicsemi.no> | Fri Jul 02 12:52:18 2021 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Aug 04 08:23:01 2021 -0400 |
tree | 15a585199796a2e2512a6b14d7226f007d229936 | |
parent | 59f0e73522366acbd5730d162fd1e22cb1f009c1 [diff] |
pm: device: do not call device if already on the given state If the device is already at the given state, do not call the device PM control function. This makes sure that devices are only called to change from one state to another. Even though asynchronous device PM is completely broken, transitional states are considered too. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>