commit | 2d445721f2d8f37a660dcc56ae6e64bfff484772 | [log] [tgz] |
---|---|---|
author | Paweł Anikiel <pan@semihalf.com> | Fri Jun 17 12:47:22 2022 +0200 |
committer | Tien Fong Chee <tien.fong.chee@intel.com> | Fri Jul 01 14:57:14 2022 +0800 |
tree | 84b92495db0a558b1e393f76591e4c462cd2a46a | |
parent | a47bfcbf8ab676d7717963ddedfc88a056db9a07 [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>