From: Lucas Stach Date: Wed, 5 Jun 2013 13:13:25 +0000 (+0200) Subject: mmc: sdhci-esdhc: calculate sdclk divider from controller clock X-Git-Tag: v3.11-rc1~50^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ba9580a8045b6d5fed66e13b77599f3d8a77fed;p=pandora-kernel.git 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 Acked-by: Shawn Guo Signed-off-by: Chris Ball --- Reading git-diff-tree failed