From: Hans Holmberg Date: Fri, 9 Jan 2015 08:40:43 +0000 (+0100) Subject: gpiolib: of: Correct error handling in of_get_named_gpiod_flags X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~257^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b8792bbdffd;p=pandora-kernel.git gpiolib: of: Correct error handling in of_get_named_gpiod_flags of_get_named_gpiod_flags fails with -EPROBE_DEFER in cases where the gpio chip is available and the GPIO translation fails. This causes drivers to be re-probed erroneusly, and hides the real problem(i.e. the GPIO number being out of range). Cc: Stable Signed-off-by: Hans Holmberg Reviewed-by: Alexandre Courbot Signed-off-by: Linus Walleij --- Reading git-diff-tree failed