pinctrl: mediatek: fix the pinconf register offset of some pins
authorSam Shih <sam.shih@mediatek.com>
Sun, 6 Nov 2022 08:01:11 +0000 (09:01 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 10 Nov 2022 08:19:43 +0000 (09:19 +0100)
commit3476b354c65db442580ef355885c69e60c546ef0
tree65e4de13d6bc2199a9ff50e8e6576994def0acab
parente66e66f17ea8b230a2ab2571582a15ad739f2da2
pinctrl: mediatek: fix the pinconf register offset of some pins

Correct the bias-pull-up, bias-pull-down and bias-disable register
offset of mt7986 pin-42 to pin-49, in the original driver, the
relative offset value was erroneously decremented by 1.

Fixes: 360de6728064 ("pinctrl: mediatek: add support for MT7986 SoC")
Signed-off-by: Sam Shih <sam.shih@mediatek.com>
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20221106080114.7426-5-linux@fw-web.de
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/pinctrl-mt7986.c