kernel/drivers/mmc/host/bcm2835.c
.. .. @@ -1413,8 +1413,8 @@ 1413 1413 host->max_clk = clk_get_rate(clk); 1414 1414 1415 1415 host->irq = platform_get_irq(pdev, 0); 1416 - if (host->irq <= 0) {1417 - ret = -EINVAL;1416 + if (host->irq < 0) {1417 + ret = host->irq;1418 1418 goto err; 1419 1419 } 1420 1420