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

pm: device: store power up failures



Store errors powering up devices in a flag in the PM struct. This is
required as the `pm->state` variable always transitions to
`PM_DEVICE_STATE_SUSPENDED`, even when `PM_DEVICE_ACTION_TURN_ON`
returns an error. Marking the transition as failed will allow the
transition logic in `pm_device_runtime_get` to detect the problem.

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