diff options
| author | Joey Gouly <[email protected]> | 2021-11-21 16:56:42 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2021-11-27 00:55:14 +0100 |
| commit | 839930ca1bd0c79cdf370d11462ef4a81b664e44 (patch) | |
| tree | 4c48bffc281d2c974a8693dd8d39dae9dc7b7f50 /tools/perf/scripts/python/bin/stackcollapse-record | |
| 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 <[email protected]>
Suggested-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions