projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dacc088
)
sunxi: mmc: Use a realistic timeout when sending a mmc command
author
Hans de Goede
<hdegoede@redhat.com>
Thu, 15 Jan 2015 12:50:35 +0000
(13:50 +0100)
committer
Hans de Goede
<hdegoede@redhat.com>
Thu, 22 Jan 2015 11:34:55 +0000
(12:34 +0100)
Wait 1 second for the sdcard to respond, rather then waiting for
0xfffff milliseconds.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
drivers/mmc/sunxi_mmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/sunxi_mmc.c
b/drivers/mmc/sunxi_mmc.c
index
6234981
..
1d484b8
100644
(file)
--- a/
drivers/mmc/sunxi_mmc.c
+++ b/
drivers/mmc/sunxi_mmc.c
@@
-355,7
+355,7
@@
static int mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd,
}
}
- error = mmc_rint_wait(mmc,
0xfffff
, SUNXI_MMC_RINT_COMMAND_DONE, "cmd");
+ error = mmc_rint_wait(mmc,
1000
, SUNXI_MMC_RINT_COMMAND_DONE, "cmd");
if (error)
goto out;