summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/owl-mmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host/owl-mmc.c')
-rw-r--r--drivers/mmc/host/owl-mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/owl-mmc.c b/drivers/mmc/host/owl-mmc.c
index 6f9d31a886ba..1bf22b08b373 100644
--- a/drivers/mmc/host/owl-mmc.c
+++ b/drivers/mmc/host/owl-mmc.c
@@ -637,7 +637,7 @@ static int owl_mmc_probe(struct platform_device *pdev)
owl_host->irq = platform_get_irq(pdev, 0);
if (owl_host->irq < 0) {
- ret = -EINVAL;
+ ret = owl_host->irq;
goto err_release_channel;
}