[PATCH] pinctrl: meson: amlogic-a4: use nolock get range
Linus Walleij
linusw at kernel.org
Thu Jun 11 05:40:19 PDT 2026
On Thu, Jun 11, 2026 at 9:10 AM Xianwei Zhao via B4 Relay
<devnull+xianwei.zhao.amlogic.com at kernel.org> wrote:
> From: Xianwei Zhao <xianwei.zhao at amlogic.com>
>
> 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 at amlogic.com>
Patch applied!
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list