Skip to content
Commit d3256428 authored by Flavio Ceolin's avatar Flavio Ceolin Committed by Anas Nashif
Browse files

pm: device_runtime: Get rid of atomic for state



Since we are using mutex to protect critical sections and mutexes are
reentrant, it is possible to get rid of atomic for the state because
we can lock the mutex in device_pm_callback.

Signed-off-by: default avatarFlavio Ceolin <flavio.ceolin@intel.com>
parent 69a34e59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment