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)
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,
if(flags & MCI_RESP)
{
- mci_delay(); /* if we read the response too fast we might read the
- * response of the previous command instead */
+ int i = 0xff; while(i--) ;
+ /* if we read the response too fast we might read the response
+ * of the previous command instead */
if(flags & MCI_LONG_RESP)
{