From 9112b0b1bb2501d0a038b417e7b41dc0c6bd0d14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Tue, 25 May 2010 20:38:42 +0000 Subject: 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 --- firmware/target/arm/as3525/sd-as3525v2.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'firmware/target/arm') 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); -- cgit v1.2.3