From 433202c5ac400fc57229cbad86a7707f0e321306 Mon Sep 17 00:00:00 2001 From: Wu Liangqing Date: Tue, 21 Apr 2020 18:10:18 +0800 Subject: [PATCH] mmc: dw_mmc-rockchip: set xfer timer 100ms Fixes: 1d1a1f03f3a7 ("mmc: dw_mmc: add xfer timer for avoid DTO without actual data payload") Signed-off-by: Wu Liangqing Signed-off-by: Shawn Lin Change-Id: I00ae095cff35b3960e1f9189d03f9908fed0aa33 --- drivers/mmc/host/dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index a6963d507da6..acb9114daf85 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -1990,7 +1990,7 @@ static void dw_mci_set_xfer_timeout(struct dw_mci *host) host->bus_hz); /* add a bit spare time */ - xfer_ms += 10; + xfer_ms += 100; spin_lock_irqsave(&host->irq_lock, irqflags); if (!test_bit(EVENT_XFER_COMPLETE, &host->pending_events))