commit | 769a9904288266181450fc6071f7fab4dbd39d94 | [log] [tgz] |
---|---|---|
author | Yann Gautier <yann.gautier@st.com> | Fri Sep 04 13:25:27 2020 +0200 |
committer | Yann Gautier <yann.gautier@st.com> | Thu Sep 24 09:30:44 2020 +0200 |
tree | 8ef24a862e31e88938814ccb8fbd931df2ac3f86 | |
parent | 662c1f5c17d144f1228b97a551a4ff5370a11e64 [diff] |
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>