]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - drivers/mmc/sdhci.c
serial: Properly spell out the structure member names of serial_driver
[karo-tx-uboot.git] / drivers / mmc / sdhci.c
index 3bb0ad0491eb2e18b6a34fb597763eeb15808f99..2e3c408bc55ab2a0d50b07a88d676fe1d70f135c 100644 (file)
@@ -279,6 +279,9 @@ static int sdhci_set_clock(struct mmc *mmc, unsigned int clock)
        }
        div >>= 1;
 
+       if (host->set_clock)
+               host->set_clock(host->index, div);
+
        clk = (div & SDHCI_DIV_MASK) << SDHCI_DIVIDER_SHIFT;
        clk |= ((div & SDHCI_DIV_HI_MASK) >> SDHCI_DIV_MASK_LEN)
                << SDHCI_DIVIDER_HI_SHIFT;