From: Aisheng Dong Date: Wed, 27 Aug 2014 07:26:28 +0000 (+0800) Subject: mmc: sdhci-esdhc-imx: fix incorrect max timeout cout for uSDHC X-Git-Tag: fixes-against-v3.18-rc2~127^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10fd0ad967c05cda16b25f862e2a45eb63d83a21;p=pandora-kernel.git mmc: sdhci-esdhc-imx: fix incorrect max timeout cout for uSDHC The default sdhci code use the 1 << 27 as the max timeout counter to to calculate the max_busy_timeout, however it's not correct for uSDHC since its the max counter is 1 << 28. Implement esdhc_get_max_timeout_cout to handle it correctly. Reviewed-by: Shawn Guo Signed-off-by: Dong Aisheng Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed