diff options
| author | 2021-11-21 16:56:42 +0000 | |
|---|---|---|
| committer | 2021-11-27 00:55:14 +0100 | |
| commit | 839930ca1bd0c79cdf370d11462ef4a81b664e44 (patch) | |
| tree | 4c48bffc281d2c974a8693dd8d39dae9dc7b7f50 /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | pinctrl: apple: use modulo rather than bitwise and (diff) | |
| download | linux-dev-839930ca1bd0c79cdf370d11462ef4a81b664e44.tar.xz linux-dev-839930ca1bd0c79cdf370d11462ef4a81b664e44.zip | |
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 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
