summaryrefslogtreecommitdiff
path: root/drivers/mmc/sdhci.c
diff options
context:
space:
mode:
authorFaiz Abbas <faiz_abbas@ti.com>2019-06-10 22:13:37 +0300
committerTom Rini <trini@konsulko.com>2019-07-17 18:12:08 +0300
commita8185c50d384c0a4eb8ff5a542cc96cd8c4bb57e (patch)
treefb6d0e84f4c94158decf2dd4a8bd831dcd27d268 /drivers/mmc/sdhci.c
parentbbcfaad59f7b1a799a45714dd4ef2144ec78120e (diff)
downloadu-boot-a8185c50d384c0a4eb8ff5a542cc96cd8c4bb57e.tar.xz
mmc: sdhci: Make set_ios_post() return int
Make set_ios_post() return int to faciliate error handling in platform drivers. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Diffstat (limited to 'drivers/mmc/sdhci.c')
-rw-r--r--drivers/mmc/sdhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c
index 151e1e3c66..61cf216e12 100644
--- a/drivers/mmc/sdhci.c
+++ b/drivers/mmc/sdhci.c
@@ -584,7 +584,7 @@ static int sdhci_set_ios(struct mmc *mmc)
/* If available, call the driver specific "post" set_ios() function */
if (host->ops && host->ops->set_ios_post)
- host->ops->set_ios_post(host);
+ return host->ops->set_ios_post(host);
return 0;
}