commit | d1a0568e1123ac56792d14c77335172527bd8396 | [log] [tgz] |
---|---|---|
author | Peter Bigot <peter.bigot@nordicsemi.no> | Tue Feb 02 10:37:30 2021 -0600 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Feb 19 10:11:20 2021 -0500 |
tree | c3497be5cae4865a13d0e8ae04d2bb1dc67e06ae | |
parent | 65eee5cb474b99bae4f1bbe9c813140751dda0f7 [diff] |
device: store device pm busy status in the state structure Move the busy status from a global atomic bit sequence to atomic flags in the device PM state. While this temporarily adds 4 bytes to each PM structure the whole device PM infrastructure will be refactored and it's likely the extra memory can be recovered. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>