diff options
author | Claudiu Beznea <[email protected]> | 2021-08-23 16:19:12 +0300 |
---|---|---|
committer | Nicolas Ferre <[email protected]> | 2021-09-14 16:52:26 +0200 |
commit | 1605de1b3ca66e3eddbca4b3c353c13c26476fe2 (patch) | |
tree | af61b4e3f1bc37ce9eaea6a10946c30b4d1c0697 /scripts/gdb/linux/utils.py | |
parent | 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f (diff) |
ARM: at91: pm: do not panic if ram controllers are not enabled
In case PM is enabled but there is no RAM controller information
in DT the code will panic. Avoid such scenarios by not initializing
platform specific PM code in case RAM controller is not provided
via DT.
Reported-by: Eugen Hristev <[email protected]>
Fixes: 827de1f123ba0 ("ARM: at91: remove at91_dt_initialize and machine init_early()")
Fixes: 892e1f4a3ae58 ("ARM: at91: pm: add sama7g5 ddr phy controller")
Signed-off-by: Claudiu Beznea <[email protected]>
Signed-off-by: Nicolas Ferre <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions