]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitec24f69154a483b1bc93eb0a6a1b1496fa94a247
tree7f96b78d9b1b2ef162c22cc98b6cb07815aa4dfa
parent8e2caff1aec0373582a68ea0f72dbd26498e910e
mmc: sdhci: switch from programmable clock mode to divided one if needed

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