Skip to content

Commit

Permalink
mmc: dw_mmc: enable card read threshold when mode is HS400
Browse files Browse the repository at this point in the history
Enable card-read-threshold, when eMMC mode is HS400.
Refer to f1d2736 (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>
  • Loading branch information
Jaehoon Chung authored and Ulf Hansson committed Mar 31, 2015
1 parent 9250aea commit 488b8d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mmc/host/dw_mmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 488b8d6

Please sign in to comment.