]> git.sur5r.net Git - u-boot/blobdiff - drivers/mmc/sdhci.c
mmc: sdhci: Add support for optional controller specific set_ios_post()
[u-boot] / drivers / mmc / sdhci.c
index 9902dbdca8f1ce254223882ce874a1789820ae77..93cefd89cd4bd96bfd0f3bafaca43c34d5be494f 100644 (file)
@@ -458,6 +458,10 @@ static int sdhci_set_ios(struct mmc *mmc)
 
        sdhci_writeb(host, ctrl, SDHCI_HOST_CONTROL);
 
+       /* 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 0;
 }