Raul Benet
b1125802a5
mmc: bcm2835-host: Fix wait_transfer_complete
...
Function bcm_2835_wait_transfer_complete() is not waiting long enough.
The previous code was claiming to wait for ~1 seconds, but as it depends
on register reads it's time actually varies.
Some cards require wait times of up to ~56 ms to perform
the command 'saveenv' on an EXT4 partition.
Re-implement the loop exit condition to use get_timer() which allows
to specify the wait time in more reliable manner. Set the maximum wait
time to the originally intended 1 second.
Signed-off by: Raul Benet <raul.benet_at_kaptivo.com>
Signed-off-by: Matthias Brugger <mbrugger@suse.com >
2019-09-06 18:16:59 +02:00
..
2019-07-26 21:49:28 -04:00
2019-04-23 15:31:30 +02:00
2019-04-23 15:31:30 +02:00
2019-08-09 13:45:25 +08:00
2019-08-09 13:45:25 +08:00
2019-09-06 18:16:59 +02:00
2019-08-09 13:45:25 +08:00
2018-09-11 21:49:02 -04:00
2019-07-31 09:07:30 +08:00
2018-08-06 10:53:53 +09:00
2019-07-15 10:30:09 +08:00
2018-05-07 09:34:12 -04:00
2019-06-23 14:18:42 +08: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-08-11 16:43:41 -04:00
2019-01-16 13:56:43 +01:00
2019-08-23 16:42:38 -04:00
2018-05-07 09:34:12 -04:00
2019-07-17 11:12:08 -04:00
2018-11-26 14:39:57 +01:00
2018-05-07 09:34:12 -04:00
2019-07-13 11:11:26 -04:00
2019-07-15 10:16:49 +08:00
2019-07-18 17:11:16 +05:30
2019-07-15 10:16:49 +08:00
2019-07-15 10:30:08 +08:00
2019-07-31 15:31:36 +08:00
2019-08-09 13:45:25 +08:00
2019-08-20 12:20:32 -04:00
2019-07-31 15:31:36 +08:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-07-15 10:16:49 +08:00
2019-08-09 13:45:25 +08:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-05-21 22:15:32 +02:00
2019-05-01 00:00:05 +02:00
2019-07-20 23:59:44 +08:00
2019-07-15 10:16:49 +08:00
2019-08-09 13:45:25 +08:00
2018-05-07 09:34:12 -04:00
2019-08-09 13:45:25 +08:00
2019-07-31 15:31:36 +08: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-07-12 11:50:54 +02:00
2019-01-29 23:49:41 +05:30
2019-08-09 13:45:25 +08:00
2018-05-07 09:34:12 -04:00
2019-03-25 20:26:53 +01:00
2019-05-21 22:15:32 +02:00
2019-02-09 11:08:40 +01:00
2019-07-17 11:12:08 -04:00
2019-08-09 13:45:25 +08:00