mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Backport 26365: 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/branches/v3_6@26385 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4deb9079a2
commit
e5586f5e2d
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