]> www.infradead.org Git - users/jedix/linux-maple.git/commit
pinctrl: armada-37xx: propagate error from armada_37xx_gpio_get()
authorGabor Juhos <j4g8y7@gmail.com>
Wed, 14 May 2025 19:18:35 +0000 (21:18 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 14 May 2025 22:18:14 +0000 (00:18 +0200)
commit57273ff8bb16f3842c2597b5bbcd49e7fa12edf7
tree964a61d81abe042ecb3df0df88923bb2a11a5d76
parent0396a8731efd17aec4719ad9981fefeaa13ffa56
pinctrl: armada-37xx: propagate error from armada_37xx_gpio_get()

The regmap_read() function can fail, so propagate its error up to
the stack instead of silently ignoring that.

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-4-07e9ac1ab737@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c