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

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: default avatarFlavio Ceolin <flavio.ceolin@intel.com>
parent 39ec8c1c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment