[PATCH] pinctrl: stm32: handle semaphore acquisition when handling pinctrl/pinmux
Linus Walleij
linus.walleij at linaro.org
Mon Nov 10 14:59:21 PST 2025
On Wed, Nov 5, 2025 at 11:50 AM Gatien Chevallier
<gatien.chevallier at foss.st.com> wrote:
> 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 at foss.st.com>
Patch applied.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list