summaryrefslogtreecommitdiff
path: root/drivers/mmc/xenon_sdhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/xenon_sdhci.c')
-rw-r--r--drivers/mmc/xenon_sdhci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/xenon_sdhci.c b/drivers/mmc/xenon_sdhci.c
index f678110239..2a0d8b46c6 100644
--- a/drivers/mmc/xenon_sdhci.c
+++ b/drivers/mmc/xenon_sdhci.c
@@ -422,7 +422,8 @@ static int xenon_sdhci_probe(struct udevice *dev)
host->ops = &xenon_sdhci_ops;
- ret = sdhci_setup_cfg(&plat->cfg, host, XENON_MMC_MAX_CLK, 0);
+ host->max_clk = XENON_MMC_MAX_CLK;
+ ret = sdhci_setup_cfg(&plat->cfg, host, 0, 0);
if (ret)
return ret;