gpio: stm32_gpio: check GPIO node status after checking DT
The call to fdt_get_status(node) has to be done after the DT is found
to be valid.

Fixes: 1fc2130c5 stm32mp1: update device tree and gpio functions

Change-Id: I70f803aae3dde128a9e740f54c8837b64cb1a244
Signed-off-by: Yann Gautier <yann.gautier@st.com>
1 parent 662c1f5 commit 769a9904288266181450fc6071f7fab4dbd39d94
@Yann Gautier Yann Gautier authored on 4 Sep 2020
Showing 1 changed file
View
drivers/st/gpio/stm32_gpio.c