aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/patches-4.14/0160-mmc-mediatek-perfer-to-use-rise-edge-latching-for-cm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mediatek/patches-4.14/0160-mmc-mediatek-perfer-to-use-rise-edge-latching-for-cm.patch')
-rw-r--r--target/linux/mediatek/patches-4.14/0160-mmc-mediatek-perfer-to-use-rise-edge-latching-for-cm.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/target/linux/mediatek/patches-4.14/0160-mmc-mediatek-perfer-to-use-rise-edge-latching-for-cm.patch b/target/linux/mediatek/patches-4.14/0160-mmc-mediatek-perfer-to-use-rise-edge-latching-for-cm.patch
deleted file mode 100644
index 756797b74e..0000000000
--- a/target/linux/mediatek/patches-4.14/0160-mmc-mediatek-perfer-to-use-rise-edge-latching-for-cm.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 81fdc4983e33ef01935a9bf01187951aad34e2ac Mon Sep 17 00:00:00 2001
-From: Chaotian Jing <chaotian.jing@mediatek.com>
-Date: Mon, 16 Oct 2017 09:46:39 +0800
-Subject: [PATCH 160/224] mmc: mediatek: perfer to use rise edge latching for
- cmd line
-
-data lines have applied to perfer to use rise edge, also need
-apply it to cmd line.
-
-Signed-off-by: Chaotian Jing <chaotian.jing@mediatek.com>
-Tested-by: Sean Wang <sean.wang@mediatek.com>
-Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
----
- drivers/mmc/host/mtk-sd.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/drivers/mmc/host/mtk-sd.c
-+++ b/drivers/mmc/host/mtk-sd.c
-@@ -1552,7 +1552,8 @@ static int msdc_tune_response(struct mmc
- }
- final_rise_delay = get_best_delay(host, rise_delay);
- /* if rising edge has enough margin, then do not scan falling edge */
-- if (final_rise_delay.maxlen >= 12 && final_rise_delay.start < 4)
-+ if (final_rise_delay.maxlen >= 12 ||
-+ (final_rise_delay.start == 0 && final_rise_delay.maxlen >= 4))
- goto skip_fall;
-
- sdr_set_bits(host->base + MSDC_IOCON, MSDC_IOCON_RSPL);