From: Jaehoon Chung Date: Thu, 5 Mar 2015 10:45:21 +0000 (+0900) Subject: mmc: dw_mmc: enable card read threshold when mode is HS400 X-Git-Tag: v5.15~16015^2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=488b8d63a63400e2839062a99358815ca21a2860;p=platform%2Fkernel%2Flinux-starfive.git mmc: dw_mmc: enable card read threshold when mode is HS400 Enable card-read-threshold, when eMMC mode is HS400. Refer to f1d2736c8156 (mmc: dw_mmc: control card read threshold) Signed-off-by: Jaehoon Chung Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 47dfd0e..f68ea4d 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -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;