diff options
author | Fabien Dessenne <fabien.dessenne@foss.st.com> | 2021-06-17 17:46:29 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-06-18 15:56:54 +0300 |
commit | 67e2996f72c71ebe4ac2fcbcf77e54479bb7aa11 (patch) | |
tree | 48ccc693567206de01f9c02b1f1dbbea4f58f7b6 /arch/s390/net/bpf_jit_comp.c | |
parent | 76b7f8fae30a9249f820e019f1e62eca992751a2 (diff) | |
download | linux-67e2996f72c71ebe4ac2fcbcf77e54479bb7aa11.tar.xz |
pinctrl: stm32: fix the reported number of GPIO lines per bank
Each GPIO bank supports a variable number of lines which is usually 16, but
is less in some cases : this is specified by the last argument of the
"gpio-ranges" bank node property.
Report to the framework, the actual number of lines, so the libgpiod
gpioinfo command lists the actually existing GPIO lines.
Fixes: 1dc9d289154b ("pinctrl: stm32: add possibility to use gpio-ranges to declare bank range")
Signed-off-by: Fabien Dessenne <fabien.dessenne@foss.st.com>
Link: https://lore.kernel.org/r/20210617144629.2557693-1-fabien.dessenne@foss.st.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/s390/net/bpf_jit_comp.c')
0 files changed, 0 insertions, 0 deletions