pinctrl: armada-37xx: propagate error from armada_37xx_pmx_gpio_set_direction()
[ Upstream commit bfa0ff804ffa8b1246ade8be08de98c9eb19d16f ]
The armada_37xx_gpio_direction_{in,out}put() functions can fail, so
propagate their error values back to the stack instead of silently
ignoring those.
Signed-off-by:
Imre Kaloz <kaloz@openwrt.org>
Reviewed-by:
Andrew Lunn <andrew@lunn.ch>
Signed-off-by:
Gabor Juhos <j4g8y7@gmail.com>
Link: https://lore.kernel.org/20250514-pinctrl-a37xx-fixes-v2-5-07e9ac1ab737@gmail.com
Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment