OSDN Git Service

mmc: sdhci: Factor out target_timeout calculation
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 27 Apr 2018 11:47:16 +0000 (17:17 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 3 May 2018 07:36:20 +0000 (09:36 +0200)
commit0bb28d738fb2066b314d0fe2eccffd1cab59517b
tree8ed4629158ff68287f3f646ce9aaf0416656b10a
parenta999fd9392310ff44b684f2011a60de7c7e73891
mmc: sdhci: Factor out target_timeout calculation

Factor out the target_timeout calculation so it can be re-used.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c