diff options
author | Sahitya Tummala <stummala@codeaurora.org> | 2011-05-02 12:37:01 (GMT) |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-10-26 19:43:37 (GMT) |
commit | 514d9eda92654430369060b91f7472bb198e7904 (patch) | |
tree | db764616b3b37645f8be568693ad1a2073e9b6e1 /drivers/mmc/host/msm_sdcc.h | |
parent | dce7c756c84160424b3aea5ec36f221946bdc6f7 (diff) | |
download | linux-514d9eda92654430369060b91f7472bb198e7904.tar.xz |
mmc: msm_sdcc: Enable SDC host->clk only after setting the rate.
For clocks that support rates which can be set (most clocks other
than _pclk AHB clocks), a rate must be set using clk_set_rate()
before the clock is enabled for the first time with clk_enable().
Subsequent calls to clk_enable() need not be preceded with the
clk_set_rate() calls unless we wish to change the clock rate that
is set previously.
SDC host->clk is currently enabled without setting the clock rate
even once. This patch fixes this, by ensuring that the clock rate
for this clock is first set before enabling the clock.
Signed-off-by: Murali Palnati <palnatim@codeaurora.org>
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/msm_sdcc.h')
0 files changed, 0 insertions, 0 deletions