pinctrl: mediatek: mt8365: use mt8365_set_clr_mode() callback
authorBalsam CHIHI <bchihi@baylibre.com>
Fri, 21 Oct 2022 08:47:08 +0000 (10:47 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Nov 2022 14:42:53 +0000 (15:42 +0100)
commitcdb6f424e93cec2c9d19d59c56ee448d63cb0146
tree13fcb7aaddc09111d73f736c43d1c481cdd25348
parentd459a2352211bf01c532def4f85eb8c2545c610a
pinctrl: mediatek: mt8365: use mt8365_set_clr_mode() callback

On MT8365, the SET/CLR of the mode is broken and some pin modes won't
be set correctly.
Use the mt8365_set_clr_mode() callback to fix the issue.

Co-developed-by: Fabien Parent <fparent@baylibre.com>
Signed-off-by: Fabien Parent <fparent@baylibre.com>
Signed-off-by: Balsam CHIHI <bchihi@baylibre.com>
Link: https://lore.kernel.org/r/20221021084708.1109986-3-bchihi@baylibre.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/pinctrl-mt8365.c