diff options
author | Jaehoon Chung <[email protected]> | 2016-11-17 16:40:35 +0900 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2016-11-29 09:05:07 +0100 |
commit | 72e83577bc5bc02a92c7fd47d108de11c04dcbf0 (patch) | |
tree | fc37b8617fd3d0ce1a640fcca55372d85a73c8cc | |
parent | 1f4d50790b74ff9ed9e3bfd14f880be5eb6c64af (diff) |
mmc: dw_mmc: change the DW_MCI_FREQ_MIN from 400K to 100K
If there is no property "clock-freq-min-max", mmc->f_min should be set
to 400K by default. But Some SoC can be used 100K.
When 100K is used, MMC core will try to check from 400K to 100K.
Reported-by: Shawn Lin <[email protected]>
Signed-off-by: Jaehoon Chung <[email protected]>
Tested-by: Heiko Stuebner <[email protected]>
Reviewed-by: Shawn Lin <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
-rw-r--r-- | drivers/mmc/host/dw_mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 441ca447c4ba..7c7cbb763deb 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -54,7 +54,7 @@ #define DW_MCI_DMA_THRESHOLD 16 #define DW_MCI_FREQ_MAX 200000000 /* unit: HZ */ -#define DW_MCI_FREQ_MIN 400000 /* unit: HZ */ +#define DW_MCI_FREQ_MIN 100000 /* unit: HZ */ #define IDMAC_INT_CLR (SDMMC_IDMAC_INT_AI | SDMMC_IDMAC_INT_NI | \ SDMMC_IDMAC_INT_CES | SDMMC_IDMAC_INT_DU | \ |