]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pinctrl: nuvoton: npcm8xx: clear polarity before set both edge
authorTomer Maimon <tmaimon77@gmail.com>
Tue, 16 Jul 2024 19:40:04 +0000 (22:40 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 5 Aug 2024 07:32:34 +0000 (09:32 +0200)
commit92f5f86b064f1c50c33c74cb087bfbe3e53479d0
tree5e643d963ab213ae78019323e46625abf9598870
parent20070bdc1c74dcb8c899d940fa7e92d9f732687f
pinctrl: nuvoton: npcm8xx: clear polarity before set both edge

Clear polarity before setting both edges to ensure that the polarity is
in the same state before configuring events for both edges

Signed-off-by: Tomer Maimon <tmaimon77@gmail.com>
Link: https://lore.kernel.org/20240716194008.3502068-4-tmaimon77@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c