From: Tony Lindgren Date: Mon, 2 Jun 2014 23:13:46 +0000 (-0700) Subject: gpio: of: Fix handling for deferred probe for -gpio suffix X-Git-Tag: omap-for-v3.16/fixes-against-rc1~18^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06fc3b70f1dc9c53070fa63a528830f54afc3c38;p=pandora-kernel.git gpio: of: Fix handling for deferred probe for -gpio suffix 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 Reviewed-by: Thierry Reding Signed-off-by: Linus Walleij --- Reading git-diff-tree failed