On Tue, Apr 20, 2021 at 10:50:54AM -0400, Sean Anderson wrote:

> 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.ander...@seco.com>
> Reviewed-by: Simon Glass <s...@chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to