Skip to content
Commit ed76b915 authored by Kumar Gala's avatar Kumar Gala Committed by Christopher Friedt
Browse files

pm: device: Fix if devicetree 'wakeup-source' prop isnt defined



Its possible that a dts binding doesn't inherit from base.yaml and
thus doesn't have `wakeup-source` defined.  To handle these cases
use DT_PROP_OR() which can deal with a property not existing at
all.

Fixes #37676

Signed-off-by: default avatarKumar Gala <kumar.gala@linaro.org>
parent d36cdd5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment