summaryrefslogtreecommitdiff
path: root/firmware/target/arm
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2010-12-26 12:55:28 +0000
committerBertrik Sikken <bertrik@sikken.nl>2010-12-26 12:55:28 +0000
commit92b849d3bf4423a235aa8efef25501ed3e4718eb (patch)
tree5b62f8974c3e7ebfb371c8188c09ee369ec5b06b /firmware/target/arm
parent70dcb6aa055a7b4d534ba70d9e6d6d7efc3a0422 (diff)
downloadrockbox-92b849d3bf4423a235aa8efef25501ed3e4718eb.tar.gz
rockbox-92b849d3bf4423a235aa8efef25501ed3e4718eb.zip
Apply FS#11798 (Files in MicroSD card aren't being shown in File Browser or Database on Clip+) by Will Sowerbutts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28903 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm')
-rw-r--r--firmware/target/arm/as3525/sd-as3525v2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525v2.c b/firmware/target/arm/as3525/sd-as3525v2.c
index f1d21c04ab..45525610b3 100644
--- a/firmware/target/arm/as3525/sd-as3525v2.c
+++ b/firmware/target/arm/as3525/sd-as3525v2.c
@@ -571,6 +571,8 @@ static int sd_init_card(const int drive)
571 MCI_RESP|MCI_LONG_RESP, card_info[drive].csd)) 571 MCI_RESP|MCI_LONG_RESP, card_info[drive].csd))
572 return -11; 572 return -11;
573 573
574 mci_delay();
575
574 sd_parse_csd(&card_info[drive]); 576 sd_parse_csd(&card_info[drive]);
575 577
576 if(drive == INTERNAL_AS3525) /* The OF is stored in the first blocks */ 578 if(drive == INTERNAL_AS3525) /* The OF is stored in the first blocks */