summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2018-03-21 13:11:30 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2018-03-21 13:11:30 +0300
commitc42e8e054d95890448494f4897837ea32aa69be2 (patch)
tree89be0aae28c90700fb066fc049405a8290c53513
parentf09a7931bcbc29a188d24c8b8f9523587c428204 (diff)
parentd58ac803cfbb92ede501409dd6afe9abb111d4f1 (diff)
downloadlinux-c42e8e054d95890448494f4897837ea32aa69be2.tar.xz
Merge branch 'fixes' into next
-rw-r--r--drivers/mmc/host/sdhci-acpi.c2
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;
}