android_kernel_xiaomi_sm8450/drivers/pinctrl/bcm
Christophe JAILLET d27238fc83 pinctrl: bcm2835: Handle gpiochip_add_pin_range() errors
[ Upstream commit cdf7e616120065007687fe1df0412154f259daec ]

gpiochip_add_pin_range() can fail, so better return its error code than
a hard coded '0'.

Fixes: d2b67744fd99 ("pinctrl: bcm2835: implement hook for missing gpio-ranges")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/98c3b5890bb72415145c9fe4e1d974711edae376.1681681402.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-27 08:43:56 +02:00
..
Kconfig pinctrl: bcm: fix kconfig dependency warning when !GPIOLIB 2020-09-29 14:58:56 +02:00
Makefile
pinctrl-bcm281xx.c pinctrl: bcm: pinctrl-bcm281xx: Demote obvious misuse of kerneldoc to standard comment blocks 2020-07-16 15:12:38 +02:00
pinctrl-bcm2835.c pinctrl: bcm2835: Handle gpiochip_add_pin_range() errors 2023-07-27 08:43:56 +02:00
pinctrl-cygnus-mux.c pinctrl: use devm_platform_ioremap_resource() to simplify code 2019-11-05 15:33:40 +01:00
pinctrl-iproc-gpio.c pinctrl: bcm: pinctrl-iproc-gpio: Rename incorrectly documented function param 2020-07-16 15:12:38 +02:00
pinctrl-ns2-mux.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
pinctrl-ns.c Revert "pinctrl: bcm: ns: support updated DT binding as syscon subnode" 2021-11-02 19:48:19 +01:00
pinctrl-nsp-gpio.c pinctrl: nsp: Set irq handler based on trig type 2020-07-11 23:09:12 +02:00
pinctrl-nsp-mux.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00