mmc: sdhci: Refactor sdhci_set_timeout()
authorFaiz Abbas <faiz_abbas@ti.com>
Thu, 16 Jan 2020 10:51:50 +0000 (16:21 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 20 Jan 2020 09:36:11 +0000 (10:36 +0100)
commit7d76ed77cfbd39468ae58d419f537d35ca892d83
tree984faaca3715eb30a3dd642dae6c10c1ea5d7d2d
parent7907ebe741a7f14ed12889ebe770438a4ff47613
mmc: sdhci: Refactor sdhci_set_timeout()

Refactor sdhci_set_timeout() such that platform drivers can do some
functionality in a set_timeout() callback and then call
__sdhci_set_timeout() to complete the operation.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20200116105154.7685-7-faiz_abbas@ti.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h