diff options
author | Paweł Anikiel | 2022-06-17 12:47:22 +0200 |
---|---|---|
committer | Tien Fong Chee | 2022-07-01 14:57:14 +0800 |
commit | 9ebca7095bdbb2843a37b1f36d7896a6cb21e4ab (patch) | |
tree | 84b92495db0a558b1e393f76591e4c462cd2a46a /arch | |
parent | 73d88cf9719e505eedb389d117704f806e4747d1 (diff) |
sysreset: socfpga: Use parent device for reading base address
This driver is a child of the rstmgr driver, both of which share the
same devicetree node. As a result, passing the child's udevice pointer
to dev_read_addr_ptr results in a failure of reading the #address-cells
property. Use the parent udevice pointer instead.
Signed-off-by: Paweł Anikiel <pan@semihalf.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions