mmc: sdhci-esdhc: calculate sdclk divider from controller clock
authorLucas Stach <l.stach@pengutronix.de>
Wed, 5 Jun 2013 13:13:25 +0000 (15:13 +0200)
committerChris Ball <cjb@laptop.org>
Thu, 27 Jun 2013 15:29:14 +0000 (11:29 -0400)
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>

No differences found