Skip to content
Commit 9c6bb8c6 authored by Bean Huo's avatar Bean Huo Committed by Ulf Hansson
Browse files

mmc: sdhci: Return true only when timeout exceeds capacity of the HW timer



Clean up sdhci_calc_timeout() a bit,  and let it set too_big to be true only
when the timeout value required by the eMMC device exceeds the capability of
the host hardware timer.

Signed-off-by: default avatarBean Huo <beanhuo@micron.com>
Acked-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20210917172727.26834-2-huobean@gmail.com


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 546b73ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment