mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user