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:
Jack Halpin 2010-05-28 21:47:36 +00:00
parent bedeac440e
commit 8b6356d08a

View file

@ -819,11 +819,6 @@ static int sd_transfer_sectors(IF_MD2(int drive,) unsigned long start,
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:
dma_release();