android_kernel_xiaomi_sm8350/drivers/pinctrl/bcm
Florian Fainelli bfba4e8088 pinctrl: bcm2835: Fix a few error paths
commit 5297c693d8c8e08fa742e3112cf70723f7a04da2 upstream.

After commit 266423e60ea1 ("pinctrl: bcm2835: Change init order for gpio
hogs") a few error paths would not unwind properly the registration of
gpio ranges. Correct that by assigning a single error label and goto it
whenever we encounter a fatal error.

Fixes: 266423e60ea1 ("pinctrl: bcm2835: Change init order for gpio hogs")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20220127215033.267227-1-f.fainelli@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-02-08 18:24:33 +01:00
..
Kconfig
Makefile
pinctrl-bcm281xx.c
pinctrl-bcm2835.c pinctrl: bcm2835: Fix a few error paths 2022-02-08 18:24:33 +01:00
pinctrl-cygnus-mux.c
pinctrl-iproc-gpio.c
pinctrl-ns2-mux.c
pinctrl-ns.c
pinctrl-nsp-gpio.c
pinctrl-nsp-mux.c