]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pinctrl: meson: amlogic-a4: use nolock get range
authorXianwei Zhao <xianwei.zhao@amlogic.com>
Thu, 11 Jun 2026 07:10:49 +0000 (07:10 +0000)
committerLinus Walleij <linusw@kernel.org>
Thu, 11 Jun 2026 13:02:54 +0000 (15:02 +0200)
commitafa0c07131d8829ea0ebbcd8267c85aa178ce52c
tree309b7f7f1c4003e40b14744d1ed62a07456476d9
parentcb7037924836a352e767f69f1aa65b82f3e815f4
pinctrl: meson: amlogic-a4: use nolock get range

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@amlogic.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/meson/pinctrl-amlogic-a4.c