diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2022-01-27 22:50:31 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-01-30 02:33:39 +0100 |
commit | 5297c693d8c8e08fa742e3112cf70723f7a04da2 (patch) | |
tree | c8d9ada6b2d174c12733c207502a805172417e14 /README | |
parent | Merge tag 'intel-pinctrl-v5.17-4' of gitolite.kernel.org:pub/scm/linux/kernel... (diff) | |
download | linux-5297c693d8c8e08fa742e3112cf70723f7a04da2.tar.xz linux-5297c693d8c8e08fa742e3112cf70723f7a04da2.zip |
pinctrl: bcm2835: Fix a few error paths
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>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions