]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sh_mmcif: Use a 10s timeout in the error recovery path
authorUlf Hansson <ulf.hansson@linaro.org>
Tue, 21 Jun 2016 13:12:50 +0000 (15:12 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:34:25 +0000 (10:34 +0200)
commite42c66c13ff3c5c058fbeb2abbbf9aea41390c94
tree9dde9ed7155152e50155b43816e6bdee3912bca0
parent77f13ead54e2e05d05ceb65fb791cdeab10d2735
mmc: sh_mmcif: Use a 10s timeout in the error recovery path

The current value means an mdelay(1) may execute up to 10000000 times,
which translates to around ~2.8 hours. This is probably not what the
orignal author had in mind. Let's instead use 10s, which is the same value
sh_mmcif is using for other timeouts.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sh_mmcif.c