OSDN Git Service

mmc: core: restore detect line inversion semantics
[uclinux-h8/linux.git] / drivers / mmc / host / sdhci-acpi.c
index 3483c08..327bc24 100644 (file)
@@ -352,7 +352,7 @@ static int sdhci_acpi_probe(struct platform_device *pdev)
        if (sdhci_acpi_flag(c, SDHCI_ACPI_SD_CD)) {
                bool v = sdhci_acpi_flag(c, SDHCI_ACPI_SD_CD_OVERRIDE_LEVEL);
 
-               if (mmc_gpiod_request_cd(host->mmc, NULL, 0, v, 0)) {
+               if (mmc_gpiod_request_cd(host->mmc, NULL, 0, v, 0, NULL)) {
                        dev_warn(dev, "failed to setup card detect gpio\n");
                        c->use_runtime_pm = false;
                }