Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pm: device_runtime: Avoid unnecessary work
Similar to what is done in pm_device_runtime_get, we don't need to wait the device be suspended if the work is still in the work queue. In this case we just cancel the work and update the device state to active. Signed-off-by: Flavio Ceolin <[email protected]>
- Loading branch information