Skip to content
Commit 962eca65 authored by Jordan Yates's avatar Jordan Yates Committed by Carles Cufí
Browse files

pm: device_runtime: detect power up failures



Check that the device we are trying to use has successfully powered up
when it is on a power domain. If it has not, release the request for the
power domain to be powered to ensure we do not have dangling requests.

As a result of this, `PM_DEVICE_ACTION_RESUME` will not be run on a
device if `PM_DEVICE_ACTION_TURN_ON` has already failed.

Signed-off-by: default avatarJordan Yates <jordan.yates@data61.csiro.au>
parent 31767903
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment