diff options
| author | Xianwei Zhao <xianwei.zhao@amlogic.com> | 2026-05-18 08:26:20 +0000 |
|---|---|---|
| committer | Linus Walleij <linusw@kernel.org> | 2026-05-26 11:53:55 +0200 |
| commit | 45ad4de324cb1bba88e568b5bef633a79d926aed (patch) | |
| tree | 0ee1e21aa183de273b6f6e65ee891cd2c1232966 /include/linux | |
| parent | 09c816e5c4d3a8d6d6e4b7537433e5e98505d934 (diff) | |
pinctrl: meson: amlogic-a4: fix gpio output glitch
When the system transitions from bootloader to kernel, the GPIO is
expected to keep driving high.
However, the Linux kernel first configures the pin direction and then
sets the output value. This may cause a brief low-level glitch on the
GPIO line, which can be problematic for regulator control.
By configuring the output value before switching the pin direction to
output, the glitch can be avoided.
This commit fixes the issue by swapping the configuration order.
Fixes: 6e9be3abb78c ("pinctrl: Add driver support for Amlogic SoCs")
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
