Home
last modified time | relevance | path

Searched hist:"0 e0dcc1916fb174966a3f170b69192e0c83ebced" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/mmc/
H A Dsdhci.c0e0dcc1916fb174966a3f170b69192e0c83ebced Wed Apr 26 01:32:30 UTC 2017 Wenyou Yang <wenyou.yang@atmel.com> mmc: sdhci: Fix maximum clock for programmable clock mode

In the programmable clock mode, the SDCLK frequency is incorrectly
assigned when the maximum clock has been assigned during probe,
this causes the SDHCI not work well.

In the programmable clock mode, when calculating the SDCLK Frequency
Select, when the maximum clock has been assigned, it is the actual
value, should not be multiplied by host->clk_mul. Otherwise, the
maximum clock is multiplied host->clk_mul by the base clock achieved
from the BASECLKF field of the Capabilities 0 Register.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>