mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 06:25:52 +02:00
mmc: core: modify the power-on initialization timeout to 1 second
The commitaf02b05e59("mmc: add thunder boot support") reduced the timeout time by mistake, which will cause mmc initialization error. Fixes:af02b05e59("mmc: add thunder boot support") Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com> Change-Id: Ie84d20104d2ea389c2369d6d1985c6dae0de054f
This commit is contained in:
parent
a919c35a83
commit
6770b7eee9
|
|
@ -179,7 +179,7 @@ int mmc_send_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr)
|
|||
cmd.arg = mmc_host_is_spi(host) ? 0 : ocr;
|
||||
cmd.flags = MMC_RSP_SPI_R1 | MMC_RSP_R3 | MMC_CMD_BCR;
|
||||
|
||||
for (i = 100; i; i--) {
|
||||
for (i = 1000; i; i--) {
|
||||
err = mmc_wait_for_cmd(host, &cmd, 0);
|
||||
if (err)
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user