commit | 54324fd08ea88cc38f8ed6674390d63ae3be9857 | [log] [tgz] |
---|---|---|
author | Flavio Ceolin <flavio.ceolin@intel.com> | Wed Apr 28 15:30:25 2021 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri May 07 16:55:31 2021 -0400 |
tree | 12089310f097126cabb403e11575ba444603e205 | |
parent | 39ec8c1cb9fc87c5567690b3cb482151b0682543 [diff] |
power: device_pm: Use spin lock instead of semaphore Device pm runtime was using semaphore to protect critical section but enable / disable functions were waiting on the semaphore. So, just replace it with a spin lock. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>