diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2015-05-06 17:05:44 +0900 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2016-12-14 13:44:48 +0900 |
commit | d4d0c4420c245d99f6e496a37b68ea5c8c950853 (patch) | |
tree | 7febd8bc607eebdc0ed001c958471c2855bdd3a4 | |
parent | 941335054b567222dc679aecf4662d25161f9891 (diff) |
local/mmc: dw_mmc: exynos: skip the specific sample value
When card is tuning, skip the specific value(0x4).
This patch is workaround.
Until find the optimal solution and root problem, use this workaround.
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
-rw-r--r-- | drivers/mmc/host/dw_mmc-exynos.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/host/dw_mmc-exynos.c b/drivers/mmc/host/dw_mmc-exynos.c index 7bf7054e776c..5f10457cd68c 100644 --- a/drivers/mmc/host/dw_mmc-exynos.c +++ b/drivers/mmc/host/dw_mmc-exynos.c @@ -502,6 +502,10 @@ retry: mci_writel(host, TMOUT, ~0); smpl = dw_mci_exynos_move_next_clksmpl(host); + /* Workaround */ + if (smpl == 4) + continue; + if (!mmc_send_tuning(mmc)) candiates |= (1 << smpl); |