diff options
author | Bean Huo <beanhuo@micron.com> | 2021-09-17 20:27:26 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2021-10-12 11:21:19 +0300 |
commit | 9c6bb8c6a1a48608692f3c8c21be13b759ec9056 (patch) | |
tree | d969e76302de580500f6be09c9a9925009f2aa68 /drivers/pwm/pwm-lpss.h | |
parent | 546b73ab019b10e8487cc8784220d32cfa08944b (diff) | |
download | linux-9c6bb8c6a1a48608692f3c8c21be13b759ec9056.tar.xz |
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: Bean Huo <beanhuo@micron.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20210917172727.26834-2-huobean@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/pwm/pwm-lpss.h')
0 files changed, 0 insertions, 0 deletions