Skip to content
Commit 9ebca709 authored by Paweł Anikiel's avatar Paweł Anikiel Committed by Tien Fong Chee
Browse files

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: default avatarPaweł Anikiel <pan@semihalf.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 73d88cf9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment