]> git.sur5r.net Git - u-boot/blobdiff - drivers/mmc/msm_sdhci.c
mmc: sdhci: Clear SDHCI_CLOCK_CONTROL before configuring the new value
[u-boot] / drivers / mmc / msm_sdhci.c
index f33714b1d8193af233a2f68b7006672a3ed2b55a..1db683d01e695696e633727233c8d45af39f8465 100644 (file)
@@ -96,6 +96,8 @@ static int msm_sdc_probe(struct udevice *dev)
 
        host->quirks = SDHCI_QUIRK_WAIT_SEND_CMD | SDHCI_QUIRK_BROKEN_R1B;
 
+       host->max_clk = 0;
+
        /* Init clocks */
        ret = msm_sdc_clk_init(dev);
        if (ret)