[PATCH] pinctrl: bcm2835: Fix a few error paths
Linus Walleij
linus.walleij at linaro.org
Sat Jan 29 17:34:16 PST 2022
On Thu, Jan 27, 2022 at 10:50 PM Florian Fainelli <f.fainelli at gmail.com> wrote:
> 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 at gmail.com>
Patch applied.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list