mmc: dw_mmc-rockchip: Enable xfer timer for all Rockchip SoCs

xfer timer was introduced to solve native defects for RK3308
platform but it seems some others also suffer from it. Enable
it would not put any burden on the normal driver process but
just ensure it has a dead-line weapon to fight for any issues
preventing the IP to work normally.

Change-Id: I0b6914d46788f4df99a7d49c608c3336976f78c6
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
This commit is contained in:
Shawn Lin
2020-04-09 08:54:02 +08:00
parent a548e40e5e
commit 536c61daa4

View File

@@ -301,12 +301,7 @@ static int dw_mci_rockchip_init(struct dw_mci *host)
"rockchip,rk3288-dw-mshc"))
host->bus_hz /= RK3288_CLKGEN_DIV;
if (of_device_is_compatible(host->dev->of_node,
"rockchip,rk3308-dw-mshc"))
host->need_xfer_timer = true;
else
host->need_xfer_timer = false;
host->need_xfer_timer = true;
return 0;
}