diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-25 20:38:42 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-25 20:38:42 +0000 |
commit | 9112b0b1bb2501d0a038b417e7b41dc0c6bd0d14 (patch) | |
tree | f342a5d4ceb3b144db16a5fe7e653e6e60f4b778 /firmware/target/arm | |
parent | 1f1c3a053a27e7cdc95189970bad52ffb2817c3d (diff) |
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
Diffstat (limited to 'firmware/target/arm')
-rw-r--r-- | firmware/target/arm/as3525/sd-as3525v2.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525v2.c b/firmware/target/arm/as3525/sd-as3525v2.c index 8ad219625c..061be8d1c2 100644 --- a/firmware/target/arm/as3525/sd-as3525v2.c +++ b/firmware/target/arm/as3525/sd-as3525v2.c @@ -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); |