aboutsummaryrefslogtreecommitdiff
path: root/drivers/sysinfo
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@seco.com>2021-04-20 10:50:54 -0400
committerTom Rini <trini@konsulko.com>2021-05-04 07:57:18 -0400
commit430e136dc1398546ad2b1db08692e9edac480cc8 (patch)
tree9bd127f80bae5166b76c77123e8f2bafe644352f /drivers/sysinfo
parent8ddaf943589756442bba21e5be645cd47526d82b (diff)
downloadu-boot-430e136dc1398546ad2b1db08692e9edac480cc8.zip
u-boot-430e136dc1398546ad2b1db08692e9edac480cc8.tar.gz
u-boot-430e136dc1398546ad2b1db08692e9edac480cc8.tar.bz2
dm: gpio: Fix gpio_get_list_count failing with livetree
of_parse_phandle_with_args (called by dev_read_phandle_with_args) does not support getting the length of a phandle list by using the index -1. Instead, use dev_count_phandle_with_args which supports exactly this use-case. Fixes: 8558217153 ("gpio: Convert to use APIs which support live DT") Signed-off-by: Sean Anderson <sean.anderson@seco.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/sysinfo')
0 files changed, 0 insertions, 0 deletions