diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2008-12-21 16:30:09 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2008-12-21 16:30:09 +0000 |
commit | c88cd20ab2a675a3135fbf588225b257cd651084 (patch) | |
tree | 7f71247b2fc198da91ddfc9d270b272b0c9be287 /firmware/target | |
parent | 54c1c770cba3118a4f6c3a783eafcd8b5a3f62a1 (diff) | |
download | rockbox-c88cd20ab2a675a3135fbf588225b257cd651084.tar.gz rockbox-c88cd20ab2a675a3135fbf588225b257cd651084.zip |
merge 19488 back from the 3.1 branch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19538 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/arm/as3525/ata_sd_as3525.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/ata_sd_as3525.c b/firmware/target/arm/as3525/ata_sd_as3525.c index f71de7fdc0..1152448f97 100644 --- a/firmware/target/arm/as3525/ata_sd_as3525.c +++ b/firmware/target/arm/as3525/ata_sd_as3525.c | |||
@@ -601,10 +601,10 @@ static int sd_transfer_sectors(IF_MV2(int drive,) unsigned long start, | |||
601 | 601 | ||
602 | if (card_info[drive].initialized <= 0) | 602 | if (card_info[drive].initialized <= 0) |
603 | { | 603 | { |
604 | sd_init_card(drive); | 604 | int ret = sd_init_card(drive); |
605 | if (!(card_info[drive].initialized)) | 605 | if (!(card_info[drive].initialized)) |
606 | { | 606 | { |
607 | panicf("card not initialised"); | 607 | panicf("card not initialised %d",ret); |
608 | goto sd_transfer_error; | 608 | goto sd_transfer_error; |
609 | } | 609 | } |
610 | } | 610 | } |