Searched hist:d9dbb97be0e4a550457aec5f11afefb446169c90 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/mmc/ |
| H A D | dw_mmc.c | 4d58e10e3e4900dbad3f44e65769092c631101cb Fri Sep 25 16:25:25 UTC 2015 Łukasz Majewski <l.majewski@samsung.com> mmc: dw_mmc: Increase timeout to 4 minutes (as in Linux kernel)
The commit: d9dbb97be0e4a550457aec5f11afefb446169c90 "mmc: dw_mmc: Zap endless timeout" removed endless loop waiting for end of dw mmc transfer.
For some workloads - dfu test @ Odroid XU3 (sending 8MiB file) - and SD cards (e.g. MicroSD Kingston 4GiB, Adata 4GiB) the default timeout is to short.
The new value - 4 minutes (240 seconds) - is the same as the one used in Linux kernel driver. Such fix should be good enough until we come up with better fix for this issue.
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Cc: Marek Vasut <marex@denx.de> Cc: Pantelis Antoniou <panto@antoniou-consulting.com> Cc: Tom Rini <trini@konsulko.com> Tested-by: Przemyslaw Marczak <p.marczak@samsung.com> d9dbb97be0e4a550457aec5f11afefb446169c90 Mon Jul 27 20:39:37 UTC 2015 Marek Vasut <marex@denx.de> mmc: dw_mmc: Zap endless timeout
Endless timeouts are bad, since if we get stuck in one, we have no way out. Zap this one by implementing proper timeout.
Signed-off-by: Marek Vasut <marex@denx.de> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Pantelis Antoniou <panto@antoniou-consulting.com> Cc: Tom Rini <trini@konsulko.com>
|