mirror of
https://github.com/genodelabs/genode.git
synced 2025-03-10 22:44:30 +00:00
sd_card_drv: increase multiblock transfer timeout
Disconnecting a client and connecting an other to the sd_card_drv on imx6 results in a "Completion host signal timed out" error in the newly connected client. Fixes #3272
This commit is contained in:
parent
93ba870b2d
commit
642c2ab4bc
@ -105,7 +105,9 @@ void Driver::_handle_irq()
|
||||
* done with other controllers - isn't sufficient. Instead, both "Transfer
|
||||
* Complete" and "Command Complete" must be gathered.
|
||||
*/
|
||||
try { wait_for(_delayer, Irqstat::Cc::Equal(1), Irqstat::Tc::Equal(1)); }
|
||||
try {
|
||||
wait_for(Attempts(1000), Microseconds(1000), _delayer,
|
||||
Irqstat::Cc::Equal(1), Irqstat::Tc::Equal(1)); }
|
||||
catch (Polling_timeout) {
|
||||
error("Completion host signal timed out");
|
||||
throw -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user