Skip to content
Commit b1611058 authored by Flavio Ceolin's avatar Flavio Ceolin Committed by Fabio Baltieri
Browse files

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