summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2014-06-02 16:13:46 -0700
committerLinus Walleij <linus.walleij@linaro.org>2014-06-12 09:57:00 +0200
commit06fc3b70f1dc9c53070fa63a528830f54afc3c38 (patch)
tree6a9596e3859810e85b7690531fefd9234617e5f4 /include
parent963649d735c8b6eb0f97e82c54f02426ff3f1f45 (diff)
gpio: of: Fix handling for deferred probe for -gpio suffixgpio-v3.16-2
Commit dd34c37aa3e (gpio: of: Allow -gpio suffix for property names) added parsing for both -gpio and -gpios suffix but also changed the handling for deferred probe unintentionally. Because of the looping the second name will now return -ENOENT instead of -EPROBE_DEFER. Fix the issue by breaking out of the loop if -EPROBE_DEFER is encountered. Signed-off-by: Tony Lindgren <tony@atomide.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions