]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:32:10 +0000 (13:32 +0100)
commit61dd45b01b207b6f23439d0551e8d1a40a416752
treec39a2c48d96b625b261d1f47cda0dbb5986f5c62
parentafe3309dedec8a5959441589a117f167ce98b2d3
pinctrl: mediatek: fix the pinconf register offset of some pins

[ Upstream commit 3476b354c65db442580ef355885c69e60c546ef0 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pinctrl/mediatek/pinctrl-mt7986.c