From: Seungwon Jeon Date: Fri, 30 Aug 2013 15:13:03 +0000 (+0900) Subject: mmc: dw_mmc: exynos: adjust the clock rate with speed mode X-Git-Tag: v3.13-rc1~50^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6d9deda64d426a25aafeb179962c9cf3c834e2f;p=pandora-kernel.git mmc: dw_mmc: exynos: adjust the clock rate with speed mode Exynos's host has divider logic before 'cclk_in' to controller core. It means that actual clock rate of ciu clock comes from this divider value. So, source clock should be adjusted along with 'ciu_div' which indicates the host's divider ratio. Setting clock rate basically fits the required speed. Specially, 'cclk_in' should have double rate of target speed in case of DDR 8-bit mode. Signed-off-by: Seungwon Jeon Tested-by: Alim Akhtar Signed-off-by: Chris Ball --- Reading git-diff-tree failed