diff options
author | Fengnan Chang <fengnanchang@gmail.com> | 2021-01-23 11:32:31 +0800 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2021-02-01 11:13:06 +0100 |
commit | f92e04f764b86e55e522988e6f4b6082d19a2721 (patch) | |
tree | 470a485e35853b06f97c516770d3d4c35d346285 /drivers/mmc/host/sdhci-pltfm.h | |
parent | 1048ba83fb1c00cd24172e23e8263972f6b5d9ac (diff) |
mmc: core: Limit retries when analyse of SDIO tuples fails
When analysing tuples fails we may loop indefinitely to retry. Let's avoid
this by using a 10s timeout and bail if not completed earlier.
Signed-off-by: Fengnan Chang <fengnanchang@gmail.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20210123033230.36442-1-fengnanchang@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-pltfm.h')
0 files changed, 0 insertions, 0 deletions