]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: Fix busy polling for MMC_SEND_OP_COND again
authorUlf Hansson <ulf.hansson@linaro.org>
Tue, 17 May 2022 10:10:46 +0000 (12:10 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 19 May 2022 13:46:46 +0000 (15:46 +0200)
commit1e43a2a55c174caa513497c4263f7833e9462695
treeb7ef42d2e8f9b10497c570df00111f6ca7ea00b3
parent75dd3387ff93b9a47aff40af1d99d9850d63349e
mmc: core: Fix busy polling for MMC_SEND_OP_COND again

It turned out that polling period for MMC_SEND_OP_COND, that currently is
set to 1ms, still isn't sufficient. In particular a Micron eMMC on a
Beaglebone platform, is reported to sometimes fail to initialize.

Additional test, shows that extending the period to 4ms is working fine, so
let's make that change.

Reported-by: Jean Rene Dawin <jdawin@math.uni-bielefeld.de>
Tested-by: Jean Rene Dawin <jdawin@math.uni-bielefeld.de>
Fixes: 0eabc475f35f (mmc: core: Restore (almost) the busy polling for MMC_SEND_OP_COND")
Fixes: cda89e402cff ("mmc: core: adjust polling interval for CMD1")
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20220517101046.27512-1-ulf.hansson@linaro.org
drivers/mmc/core/mmc_ops.c