projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd227ab
)
LOCAL / mmc: dw_mmc: exynos: skip the specific sample value
author
Jaehoon Chung
<jh80.chung@samsung.com>
Wed, 6 May 2015 08:05:44 +0000
(17:05 +0900)
committer
Junghoon Kim
<jhoon20.kim@samsung.com>
Thu, 14 Feb 2019 05:56:32 +0000
(14:56 +0900)
When card is tuning, skip the specific value(0x4).
This patch is workaround.
Until find the optimal solution and root problem, use this workaround.
Change-Id: I60881de6294eab9ba4a2cbf363c3a082987350a3
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/host/dw_mmc-exynos.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/dw_mmc-exynos.c
b/drivers/mmc/host/dw_mmc-exynos.c
index
a84aa3f
..
d48df8b
100644
(file)
--- a/
drivers/mmc/host/dw_mmc-exynos.c
+++ b/
drivers/mmc/host/dw_mmc-exynos.c
@@
-456,6
+456,10
@@
static int dw_mci_exynos_execute_tuning(struct dw_mci_slot *slot, u32 opcode)
mci_writel(host, TMOUT, ~0);
smpl = dw_mci_exynos_move_next_clksmpl(host);
+ /* Workaround */
+ if (smpl == 4)
+ continue;
+
if (!mmc_send_tuning(mmc, opcode, NULL))
candiates |= (1 << smpl);