as3525v2: do not deselect all cards after a SD transfer

Selecting the right card before the transfer will deselect the other one

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26290 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-05-25 20:38:42 +00:00
parent 1f1c3a053a
commit 9112b0b1bb

View file

@ -905,11 +905,6 @@ static int sd_transfer_sectors(IF_MD2(int drive,) unsigned long start,
dma_release();
/* CMD lines are separate, not common, so we need to actively deselect */
/* CMD7 w/rca =0 : deselects card & puts it in STBY state */
if(!send_cmd(drive, SD_DESELECT_CARD, 0, MCI_NO_RESP, NULL))
return -21;
#ifndef BOOTLOADER
sd_enable(false);
led(false);