Marek Vasut
4e16f0a67d
mmc: dw_mmc: Calculate timeout from transfer length
...
The current 4-minute data transfer timeout is misleading and broken.
Instead of such a long wait, calculate the timeout duration based on
the length of the data transfer. The current formula is the transfer
length in bits, divided by a multiplication of bus frequency in Hz,
bus width, DDR mode and converted the mSec. The value is bounded from
the bottom to 1000 mSec.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Jaehoon Chung <jh80.chung@samsung.com >
Cc: Simon Glass <sjg@chromium.org >
2019-04-29 10:08:56 +02:00
..
2019-04-23 15:31:30 +02:00
2019-04-23 15:31:30 +02:00
2018-05-07 09:34:12 -04:00
2018-04-05 13:17:43 +02:00
2018-05-23 22:31:42 +02:00
2018-07-10 16:55:57 -04:00
2018-09-11 21:49:02 -04:00
2019-04-29 10:08:56 +02:00
2018-08-06 10:53:53 +09:00
2018-05-07 09:34:12 -04:00
2019-02-15 22:01:15 +01:00
2018-05-29 14:45:03 +08:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-01-25 12:12:57 -05:00
2019-01-16 13:56:43 +01:00
2018-09-11 08:32:55 -04:00
2019-04-18 09:12:38 +03:00
2018-05-07 09:34:12 -04:00
2019-04-18 09:12:38 +03:00
2018-11-26 14:39:57 +01:00
2018-05-07 09:34:12 -04:00
2018-05-13 07:57:32 -04:00
2018-05-07 09:34:12 -04:00
2018-12-08 20:18:32 -05:00
2019-01-16 13:56:43 +01:00
2019-02-16 18:12:17 +01:00
2019-03-29 10:53:18 -04:00
2018-05-07 09:34:12 -04:00
2019-04-23 17:57:25 -04:00
2019-04-26 07:35:38 +02:00
2018-05-07 09:34:12 -04:00
2017-01-11 19:40:13 +09:00
2018-05-07 09:34:12 -04:00
2019-04-12 08:05:57 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-02-25 16:07:41 +01:00
2018-10-02 09:35:09 +02:00
2018-05-07 09:34:12 -04:00
2018-10-07 10:47:38 -04:00
2019-02-09 12:50:22 -07:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-06-15 08:54:04 +02:00
2019-03-25 20:26:53 +01:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-04-18 09:12:38 +03:00
2018-08-13 22:35:42 +02:00
2018-05-07 09:34:12 -04:00
2019-04-23 15:42:28 +02:00
2019-01-29 23:49:41 +05:30
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-03-25 20:26:53 +01:00
2019-02-09 11:08:40 +01:00
2019-02-09 11:08:40 +01:00
2018-05-07 09:34:12 -04:00
2019-01-24 10:03:42 +01:00