diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2018-03-21 13:11:30 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-03-21 13:11:30 +0300 |
commit | c42e8e054d95890448494f4897837ea32aa69be2 (patch) | |
tree | 89be0aae28c90700fb066fc049405a8290c53513 | |
parent | f09a7931bcbc29a188d24c8b8f9523587c428204 (diff) | |
parent | d58ac803cfbb92ede501409dd6afe9abb111d4f1 (diff) | |
download | linux-c42e8e054d95890448494f4897837ea32aa69be2.tar.xz |
Merge branch 'fixes' into next
-rw-r--r-- | drivers/mmc/host/sdhci-acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-acpi.c b/drivers/mmc/host/sdhci-acpi.c index 4065da58789d..32321bd596d8 100644 --- a/drivers/mmc/host/sdhci-acpi.c +++ b/drivers/mmc/host/sdhci-acpi.c @@ -680,7 +680,7 @@ static int sdhci_acpi_probe(struct platform_device *pdev) host->hw_name = "ACPI"; host->ops = &sdhci_acpi_ops_dflt; host->irq = platform_get_irq(pdev, 0); - if (host->irq <= 0) { + if (host->irq < 0) { err = -EINVAL; goto err_free; } |