]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-of-esdhc: add workaround for pre divider initial value
authorYangbo Lu <yangbo.lu@freescale.com>
Tue, 11 Aug 2015 02:53:34 +0000 (10:53 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 27 Aug 2015 12:50:49 +0000 (14:50 +0200)
commit9861f6ff2aefab230edb6b92310eae07f943b0ad
tree1ebaf54fa3e5cb0fccdfc54545dc5f2da8417af7
parentd479bba1e81500663f7da00e245a81f420e9a1c4
mmc: sdhci-of-esdhc: add workaround for pre divider initial value

For eSDHC(version < 2.3), the pre divider only could divide base clock
by 2 at least. Add workaround for this to avoid unexpected issue.

Signed-off-by: Yangbo Lu <yangbo.lu@freescale.com>
Acked-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Fixes: fca7d5991fb2 ("mmc: sdhci-of-esdhc: Pre divider starts at 1")
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-esdhc.c