[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZcqM5JzvoTUk+cAFrtvQjHdRiaV0MF8ZipPTWxfqBxZg@mail.gmail.com>
Date: Mon, 10 Nov 2025 23:59:21 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Gatien Chevallier <gatien.chevallier@...s.st.com>
Cc: Antonio Borneo <antonio.borneo@...s.st.com>, Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>, linux-gpio@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pinctrl: stm32: handle semaphore acquisition when
handling pinctrl/pinmux
On Wed, Nov 5, 2025 at 11:50 AM Gatien Chevallier
<gatien.chevallier@...s.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@...s.st.com>
Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists