From c88cd20ab2a675a3135fbf588225b257cd651084 Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Sun, 21 Dec 2008 16:30:09 +0000 Subject: merge 19488 back from the 3.1 branch git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19538 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/as3525/ata_sd_as3525.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/target/arm') 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, if (card_info[drive].initialized <= 0) { - sd_init_card(drive); + int ret = sd_init_card(drive); if (!(card_info[drive].initialized)) { - panicf("card not initialised"); + panicf("card not initialised %d",ret); goto sd_transfer_error; } } -- cgit v1.2.3