mmc: atmel_sdhci: not on capabilities to set gck rate
authorLudovic Desroches <[email protected]>
Fri, 17 Nov 2017 06:51:27 +0000 (14:51 +0800)
committerTom Rini <[email protected]>
Thu, 30 Nov 2017 03:30:50 +0000 (22:30 -0500)
commit327713a64a4dd71758c44ba9b86cab5c5379274f
tree96c4a2731b6ba8012920af27046aeb6eb2722a45
parent63a80b8d03744c48c188e6bc6f7f69813507cfdb
mmc: atmel_sdhci: not on capabilities to set gck rate

The capabilities have default values which doesn't reflect the reality
when it concerns the base clock and the mul value. Use a fixe rate
for the gck. 240 MHz is an arbitrary choice, it is a multiple of the
maximum SD clock frequency handle by the controller and it allows to
get a 400 kHz clock for the card initialisation.

Signed-off-by: Ludovic Desroches <[email protected]>
Signed-off-by: Wenyou Yang <[email protected]>
drivers/mmc/atmel_sdhci.c