Explorar o código

Merge branch 'fixes' into next

Ulf Hansson %!s(int64=7) %!d(string=hai) anos
pai
achega
c42e8e054d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/mmc/host/sdhci-acpi.c

+ 1 - 1
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;
 	}