Sean Anderson
430e136dc1
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>
2021-05-04 07:57:18 -04:00
..
2021-02-02 15:33:42 -05:00
2020-05-18 21:19:23 -04:00
2021-02-02 15:33:42 -05:00
2020-12-13 16:51:09 -07:00
2021-04-19 10:38:49 +03:00
2018-05-07 09:34:12 -04:00
2020-12-13 16:51:09 -07:00
2020-12-13 08:00:25 -07:00
2020-12-13 08:00:25 -07:00
2021-02-02 15:33:42 -05:00
2020-12-13 16:51:09 -07:00
2017-02-08 16:24:29 -05:00
2021-01-05 12:24:40 -07:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2021-05-04 07:57:18 -04:00
2020-12-13 08:00:25 -07:00
2021-01-05 12:24:40 -07:00
2020-12-13 16:51:08 -07:00
2021-01-05 12:26:35 -07:00
2021-02-02 15:33:42 -05:00
2021-03-27 13:59:36 +13:00
2021-02-02 15:33:42 -05:00
2020-12-18 20:32:21 -07:00
2021-01-27 07:25:39 +01:00
2020-02-05 19:33:46 -07:00
2018-05-07 09:34:12 -04:00
2021-01-05 12:24:40 -07:00
2021-01-24 21:39:26 +01:00
2021-03-05 10:25:43 +05:30
2020-02-05 19:33:46 -07:00
2020-12-13 16:51:09 -07:00
2020-12-13 08:00:25 -07:00
2021-02-02 15:33:42 -05:00
2021-01-24 21:39:26 +01:00
2021-01-05 12:24:40 -07:00
2020-12-18 20:32:21 -07:00
2020-02-05 19:33:46 -07:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2021-01-05 12:26:35 -07:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2021-01-05 12:24:41 -07:00
2021-02-02 15:33:42 -05:00
2020-12-13 16:51:09 -07:00
2020-05-18 18:36:55 -04:00
2020-02-05 19:33:46 -07:00
2021-02-02 15:33:42 -05:00
2021-02-02 15:33:42 -05:00
2020-12-13 16:51:09 -07:00
2020-12-13 08:00:25 -07:00
2021-02-02 15:33:42 -05:00
2021-03-03 15:40:47 -05:00
2020-05-18 21:19:23 -04:00
2020-12-13 16:51:09 -07:00
2020-02-05 19:33:46 -07:00
2021-03-03 15:40:10 -05:00
2021-01-25 21:52:01 +00:00
2021-01-12 10:21:41 +05:30
2020-05-18 21:19:23 -04:00
2021-01-05 12:24:40 -07:00
2021-01-05 12:24:40 -07:00
2021-02-02 15:33:42 -05:00
2020-12-13 16:51:09 -07:00
2020-12-13 16:51:09 -07:00