Skip to content
Commit 39a8f0be authored by Patrice Chotard's avatar Patrice Chotard Committed by Tom Rini
Browse files

gpio: stm32f7: Fix gpio bank hole management



In case "gpio-ranges" property is not present in device tree,
use default value for gpio_count and gpio_range.
This fixes an issue on stm32 F7 and H7 boards where "pinmux status -a"
command didn't return any pin status due to the fact that both stm32 F7
and H7 board DT doesn't use the gpio-ranges property.

Fixes: dbf928dd("gpio: stm32f7: Add gpio bank holes management")

Signed-off-by: default avatarPatrice Chotard <patrice.chotard@st.com>
parent 17be909a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment