commit | ed76b915cbc633f364af4a129e1a65528eeaaea0 | [log] [tgz] |
---|---|---|
author | Kumar Gala <kumar.gala@linaro.org> | Fri Aug 13 09:38:50 2021 -0500 |
committer | Christopher Friedt <chrisfriedt@gmail.com> | Mon Aug 16 15:00:26 2021 -0400 |
tree | 35b306e45f1059c33b466aac380243908e140b6d | |
parent | d36cdd5a271e62eb1337bad714d25f652ea5d7b3 [diff] |
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: Kumar Gala <kumar.gala@linaro.org>