Skip to content
Commit f93778f2 authored by Gerard Marull-Paretas's avatar Gerard Marull-Paretas Committed by Christopher Friedt
Browse files

pm: device: do not allow suspending a turned off device



A device that is turned off should not be suspended. A device that has
been turned off can only be resumed. This action is currently forbidden
by the "should_suspend" function in the device PM code.

Signed-off-by: default avatarGerard Marull-Paretas <gerard.marull@nordicsemi.no>
parent 4a0b5ce2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment