mmc: sdhci: switch from programmable clock mode to divided one if needed
authorludovic.desroches@atmel.com <ludovic.desroches@atmel.com>
Wed, 29 Jul 2015 14:22:46 +0000 (16:22 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Aug 2015 09:25:53 +0000 (11:25 +0200)
In programmable mode, if the clock frequency is too high, the divider
can be too small to meet the clock frequency requirement especially to
init the SD card. In this case, switch to the divided clock mode.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c

Simple merge