mmc: sdhci-sprd: fixed incorrect clock divider

The register SDHCI_CLOCK_CONTROL should be cleared before config clock
divider, otherwise the frequency configured maybe lower than we

Fixes: fb8bd90f83c4 ("mmc: sdhci-sprd: Add Spreadtrum's initial host controller")
Signed-off-by: Chunyan Zhang <>
Signed-off-by: Chunyan Zhang <>
Reviewed-by: Baolin Wang <>
Tested-by: Baolin Wang <>
Signed-off-by: Ulf Hansson <>
1 file changed