diff options
author | Joey Gouly <joey.gouly@arm.com> | 2021-11-21 16:56:42 +0000 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-11-27 00:55:14 +0100 |
commit | 839930ca1bd0c79cdf370d11462ef4a81b664e44 (patch) | |
tree | 4c48bffc281d2c974a8693dd8d39dae9dc7b7f50 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 077db34c2b007a086baa3ee87bc72794a25d0329 (diff) |
pinctrl: apple: return an error if pinmux is missing in the DT
If of_property_count_u32_elems returned 0, return -EINVAL to indicate
a failure. Previously this would return 0.
Fixes: a0f160ffcb83 ("pinctrl: add pinctrl/GPIO driver for Apple SoCs")
Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20211121165642.27883-12-joey.gouly@arm.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions