mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 00:21:59 +00:00
b67210cc21
Consider the GPIO controller offset (from "gpio-ranges") to compute the
maximum GPIO line number.
This fixes an issue where gpio-ranges uses a non-null offset.
e.g.: gpio-ranges = <&pinctrl 6 86 10>
In that case the last valid GPIO line is not 9 but 15 (6 + 10 - 1)
Cc: stable@vger.kernel.org
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
pinctrl-stm32.c | ||
pinctrl-stm32.h | ||
pinctrl-stm32f429.c | ||
pinctrl-stm32f469.c | ||
pinctrl-stm32f746.c | ||
pinctrl-stm32f769.c | ||
pinctrl-stm32h743.c | ||
pinctrl-stm32mp135.c | ||
pinctrl-stm32mp157.c |