mmc: sdhci-pci: Allow deferred probe for sd card detect gpio
authorDavid E. Box <david.e.box@linux.intel.com>
Tue, 22 Nov 2016 09:03:38 +0000 (11:03 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 29 Nov 2016 08:05:21 +0000 (09:05 +0100)
commit8f743d03948db721dffbc1de53f0d9a5cd4cef05
treea8f95dcfaaf39d92c7539651b4432c517c4a3b1a
parent2d1956d0a4e0fd586e1c72c642929e15b5f23226
mmc: sdhci-pci: Allow deferred probe for sd card detect gpio

With commit f35bbf61ab77 ("gpio / ACPI: Return -EPROBE_DEFER if the
gpiochip was not found"), a gpio descriptor request can now be deferred if
the providing gpio host controller driver hasn't been loaded yet. Allow use
in mmc slot probe in order to prevent card detect gpio setup from failing
in this case.

Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-core.c