kernel/drivers/mmc/host/sdhci-acpi.c
.. .. @@ -876,7 +876,7 @@ 876 876 host->ops = &sdhci_acpi_ops_dflt; 877 877 host->irq = platform_get_irq(pdev, 0); 878 878 if (host->irq < 0) { 879 - err = -EINVAL;879 + err = host->irq;880 880 goto err_free; 881 881 } 882 882