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

pm: device_runtime: Fix reference count when action fails



The usage count and device power state has to be restored when the
device action callback fails in the async operation. Otherwise it will
lead to an inconsistent state.

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