commit | b415d0e39f0730696ab03468a52993da8333699a | [log] [tgz] |
---|---|---|
author | Johan Jonker <jbx6244@gmail.com> | Mon Mar 13 01:29:35 2023 +0100 |
committer | Kever Yang <kever.yang@rock-chips.com> | Sat May 06 17:28:18 2023 +0800 |
tree | 6a21685d8b91e7de104fa9c4f8793975bbacda2e | |
parent | c271371e669d51728e9a290d7a3a52b465680ab2 [diff] |
rockchip: adc: rockchip-saradc: use dev_read_addr_ptr The fdt_addr_t and phys_addr_t size have been decoupled. A 32bit CPU can expext 64-bit data from the device tree parser, so use dev_read_addr_ptr in the rockchip-saradc.c file. As we are there also streamline the error response to -EINVAL on return. Signed-off-by: Johan Jonker <jbx6244@gmail.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>