mmc: msm_sdcc: Wrap readl/writel calls with appropriate clk delays
authorSan Mehat <san@google.com>
Mon, 16 Nov 2009 18:17:30 +0000 (10:17 -0800)
committerDaniel Walker <dwalker@codeaurora.org>
Thu, 18 Mar 2010 20:15:47 +0000 (13:15 -0700)
commit8b1c2ba274c8416afb7eab3bd788f98a917efe06
treeaeee912e0f9fd054bd8bf4bf436426ba07ef2077
parent865c8064a2fb07100525097983966b8e789bde1a
mmc: msm_sdcc: Wrap readl/writel calls with appropriate clk delays

As it turns out, all sdcc register writes must be delayed by at
least 3 core clock cycles for the writes to take effect. *sigh*

    Also removes the 30us constant delay on clock enable in favor
of a 3 core clock delay.

Signed-off-by: San Mehat <san@google.com>
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
drivers/mmc/host/msm_sdcc.c