mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
sd-as3525.c: Do not wait for TRAN state after transfer is over.
Waiting for TRAN state after the end of the transfer caused writing problems for some uSD cards. Removing this wait returns write functionality to those cards. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26365 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bedeac440e
commit
8b6356d08a
1 changed files with 0 additions and 5 deletions
|
|
@ -819,11 +819,6 @@ static int sd_transfer_sectors(IF_MD2(int drive,) unsigned long start,
|
||||||
transfer_error[drive], drive);
|
transfer_error[drive], drive);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* be sure the card has finished programming */
|
|
||||||
ret = sd_wait_for_tran_state(drive);
|
|
||||||
if (ret < 0)
|
|
||||||
ret -= 5*20;
|
|
||||||
|
|
||||||
sd_transfer_error:
|
sd_transfer_error:
|
||||||
|
|
||||||
dma_release();
|
dma_release();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue