Re: [PATCH] pinctrl: meson: amlogic-a4: use nolock get range

From: Linus Walleij

Date: Thu Jun 11 2026 - 08:47:47 EST


On Thu, Jun 11, 2026 at 9:10 AM Xianwei Zhao via B4 Relay
<devnull+xianwei.zhao.amlogic.com@xxxxxxxxxx> wrote:

> From: Xianwei Zhao <xianwei.zhao@xxxxxxxxxxx>
>
> Use pinctrl_find_gpio_range_from_pin_nolock() instead of
> pinctrl_find_gpio_range_from_pin() when configuring a pin or
> setting a GPIO value.
>
> This avoids taking the lock and allows the code to be safely
> called from interrupt context.
>
> Signed-off-by: Xianwei Zhao <xianwei.zhao@xxxxxxxxxxx>

Patch applied!

Yours,
Linus Walleij