commit | 8ba9580a8045b6d5fed66e13b77599f3d8a77fed | [log] [tgz] |
---|---|---|
author | Lucas Stach <l.stach@pengutronix.de> | Wed Jun 05 15:13:25 2013 +0200 |
committer | Chris Ball <cjb@laptop.org> | Thu Jun 27 11:29:14 2013 -0400 |
tree | 6c6cc85feb82547669750b87ddc36bad355b509f | |
parent | a82e484e2480583b17be6253b985fa6f582ad20d [diff] |
mmc: sdhci-esdhc: calculate sdclk divider from controller clock The SDCLK is divided down from the host controller clock. Host controller clock may be different from the maximum SDCLK, so get it from the platform, instead of just using the max SDCLK. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org>