summaryrefslogtreecommitdiff
path: root/rust/helpers/pci.c
diff options
context:
space:
mode:
authorGatien Chevallier <gatien.chevallier@foss.st.com>2025-11-05 11:50:22 +0100
committerLinus Walleij <linus.walleij@linaro.org>2025-11-10 23:59:00 +0100
commit7959deaabea8380a318fefe9f3fffc37e5b0fc15 (patch)
tree343cef74249cc84a810c8682d11b2d0b069a5fe4 /rust/helpers/pci.c
parentdbd2317d7b9f88b7b4b7de0d48173ee178f2ac97 (diff)
pinctrl: stm32: handle semaphore acquisition when handling pinctrl/pinmux
When a GPIO RIF configuration is in semaphore mode, and the semaphore hasn't been taken before configuring the GPIO, the write operations silently fail. To avoid a silent fail when applying a pinctrl, if the pins that are being configured are in semaphore mode, take the semaphore. Note that there is no proper release of the RIF semaphore yet for pinctrl. Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'rust/helpers/pci.c')
0 files changed, 0 insertions, 0 deletions