Skip to content
Commit 61c552e4 authored by Huang-Huang Bao's avatar Huang-Huang Bao Committed by Greg Kroah-Hartman
Browse files

pinctrl: rockchip: fix pinmux reset in rockchip_pmx_set

[ Upstream commit 4ea4d480 ]

rockchip_pmx_set reset all pinmuxs in group to 0 in the case of error,
add missing bank data retrieval in that code to avoid setting mux on
unexpected pins.

Fixes: 14797189

 ("pinctrl: rockchip: add return value to rockchip_set_mux")
Reviewed-by: default avatarHeiko Stuebner <heiko@sntech.de>
Signed-off-by: default avatarHuang-Huang Bao <i@eh5.me>
Link: https://lore.kernel.org/r/20240606125755.53778-5-i@eh5.me
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f8426b53
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