summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-03-15 00:36:08 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-03-15 00:36:08 +0000
commitade669f0e76008937e1d0ae83d99ef2af5c73863 (patch)
tree0ec70d9484e7607b2ec85c15a54683b815162a35 /firmware
parente32f28b740c9bfef25a5ccbe961ea45e605f4d25 (diff)
downloadrockbox-ade669f0e76008937e1d0ae83d99ef2af5c73863.tar.gz
rockbox-ade669f0e76008937e1d0ae83d99ef2af5c73863.zip
sd-as3525v2: reduce the delay before reading response
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25189 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-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 5a8565e822..35699f6ee7 100644
--- a/firmware/target/arm/as3525/sd-as3525v2.c
+++ b/firmware/target/arm/as3525/sd-as3525v2.c
@@ -377,8 +377,9 @@ static bool send_cmd(const int cmd, const int arg, const int flags,
377 377
378 if(flags & MCI_RESP) 378 if(flags & MCI_RESP)
379 { 379 {
380 mci_delay(); /* if we read the response too fast we might read the 380 int i = 0xff; while(i--) ;
381 * response of the previous command instead */ 381 /* if we read the response too fast we might read the response
382 * of the previous command instead */
382 383
383 if(flags & MCI_LONG_RESP) 384 if(flags & MCI_LONG_RESP)
384 { 385 {