OSDN Git Service

mmc: block: Reduce polling timeout from 10 minutes to 10 seconds
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 29 Nov 2017 13:41:14 +0000 (15:41 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 11 Dec 2017 11:44:38 +0000 (12:44 +0100)
commit6b7a363d2ce83e3940dc0c3628e478fe95f23985
tree1d275a796693aeb47813cb31f483abd7e1f5a3a2
parent92c0a0cc9483c6b9cc1b61273d30a0a601cb5e15
mmc: block: Reduce polling timeout from 10 minutes to 10 seconds

Set a 10 second timeout for polling write request busy state. Note, mmc
core is setting a 3 second timeout for SD cards, and SDHCI has long had a
10 second software timer to timeout the whole request, so 10 seconds should
be ample.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
drivers/mmc/core/block.c