summaryrefslogtreecommitdiff
path: root/firmware/target/arm
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm')
-rw-r--r--firmware/target/arm/as3525/sd-as3525v2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525v2.c b/firmware/target/arm/as3525/sd-as3525v2.c
index f8e85122b7..9698a149ed 100644
--- a/firmware/target/arm/as3525/sd-as3525v2.c
+++ b/firmware/target/arm/as3525/sd-as3525v2.c
@@ -836,8 +836,9 @@ static int sd_transfer_sectors(IF_MD2(int drive,) unsigned long start,
836 dma_release(); 836 dma_release();
837 837
838#ifdef HAVE_MULTIDRIVE 838#ifdef HAVE_MULTIDRIVE
839 /* CMD7 w/rca =0 : deselect card to put it in STBY state */ 839 /* CMD lines are separate, not common, so we need to actively deselect */
840 if(!send_cmd(drive, SD_SELECT_CARD, 0, MCI_NO_RESP, NULL)) 840 /* CMD7 w/rca =0 : deselects card & puts it in STBY state */
841 if(!send_cmd(drive, SD_DESELECT_CARD, 0, MCI_NO_RESP, NULL))
841 return -6; 842 return -6;
842#endif 843#endif
843 844