From: Jan Luebbe Date: Wed, 30 Jan 2013 09:07:17 +0000 (+0100) Subject: mmc: omap_hsmmc: support deferred probing for GPIOs X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~41^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc642c28d4eb39d1c7f2f85bbf1cea45de4766af;p=pandora-kernel.git mmc: omap_hsmmc: support deferred probing for GPIOs If the CD/WP-GPIOs are not provided by the SoC's GPIO controller, we need to handle the case where omap_hsmmc is probed earlier than the GPIO controller chosen in the device tree. Fix this by checking the return value of of_get_named_gpio against -EPROBE_DEFER and passing it through to the probe function. Signed-off-by: Jan Luebbe Acked-by: Balaji T K Signed-off-by: Chris Ball --- Reading git-diff-tree failed