Commit c42e8e05 authored by Ulf Hansson's avatar Ulf Hansson

Merge branch 'fixes' into next

parents f09a7931 d58ac803
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment