Skip to content
Commit 76292cf4 authored by Andrei Lalaev's avatar Andrei Lalaev Committed by Greg Kroah-Hartman
Browse files

pinctrl: sunxi: sunxi_pconf_set: use correct offset

[ Upstream commit cd4c1e65 ]

Some Allwinner SoCs have 2 pinctrls (PIO and R_PIO).
Previous implementation used absolute pin numbering and it was incorrect
for R_PIO pinctrl.
It's necessary to take into account the base pin number.

Fixes: 90be64e2

 ("pinctrl: sunxi: implement pin_config_set")
Signed-off-by: default avatarAndrei Lalaev <andrey.lalaev@gmail.com>
Reviewed-by: default avatarSamuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/20220525190423.410609-1-andrey.lalaev@gmail.com
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c041165d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment