mmc: dw_mmc: enable card read threshold when mode is HS400
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 5 Mar 2015 10:45:21 +0000 (19:45 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 31 Mar 2015 14:50:43 +0000 (16:50 +0200)
Enable card-read-threshold, when eMMC mode is HS400.
Refer to f1d2736c8156 (mmc: dw_mmc: control card read threshold)

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.c

index 47dfd0eafb7a0f9b28805bf7e66e3830ce2be4dc..f68ea4d57b180d9450d3b00c0062674a29f12a7a 100644 (file)
@@ -764,6 +764,7 @@ static void dw_mci_ctrl_rd_thld(struct dw_mci *host, struct mmc_data *data)
                return;
 
        if (host->timing != MMC_TIMING_MMC_HS200 &&
+           host->timing != MMC_TIMING_MMC_HS400 &&
            host->timing != MMC_TIMING_UHS_SDR104)
                goto disable;