pinctrl/rockchip: add error handling for pull/drive register getters

[ Upstream commit 42573ab3b9 ]

Add error handling for the pull and driver register getters in preparation
for RK3588 support.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Reviewed-by: Heiko Stübner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20220422170920.401914-13-sebastian.reichel@collabora.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Stable-dep-of: 31b62a98de ("pinctrl: rockchip: fix reading pull type on rk3568")
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Sebastian Reichel 2022-04-22 19:09:13 +02:00 • committed by Greg Kroah-Hartman
commit ddca674af1
2 changed files with 109 additions and 63 deletions