diff options
author | Rob Herring <[email protected]> | 2018-07-12 13:22:22 -0600 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2023-01-27 13:48:07 +0100 |
commit | 91da7032d86a2aa2ae4b43d82008282bb672f9f2 (patch) | |
tree | c43f65a220d9f9b1355688e4ac8ab88f3e0927c2 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 6c488fbb1de2bf3821307f4a81449d7b2f300b34 (diff) |
pinctrl: at91: fix deferred probing support
AT91 pinctrl deferred probing support is broken if the GPIO devices
haven't probed first and set gpio_banks to non-zero. The later condition
that only some GPIO devices haven't probed can't actually happen as
either all the GPIO devices have probed first or none of them have. Plus
the pinctrl driver has already returned -EINVAL, so it's not on the
deferred list to retry probing.
Fix this by consolidating the checking that all GPIO devices are probed.
Cc: Jean-Christophe Plagniol-Villard <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Nicolas Ferre <[email protected]>
Cc: Alexandre Belloni <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Rob Herring <[email protected]>
Acked-by: Ludovic Desroches <[email protected]>
Tested-by: Nicolas Ferre <[email protected]> # on sama5d3 xplained
Acked-by: Nicolas Ferre <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions