From bdf1b69b38fb6da64f08ba60287fe184af5aa8ff 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 d8dce621c005..9d2333a84c76 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -1949,7 +1949,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))