Skip to content
Commit 0ea173b7 authored by Flavio Ceolin's avatar Flavio Ceolin Committed by Carles Cufí
Browse files

pm: device_runtime: Avoid unnecessary resume/suspend



We don't need to wait an async put to happen in case it has not
started yet. In this case we can simply cancelling the pending work
and change the internal state because the device is still active.
This way we avoid a suspend and resume cycle.

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