]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0e3886aa677929f5a7aaa7393299ceeb03e54431
tree984faaca3715eb30a3dd642dae6c10c1ea5d7d2d
parent2546851d2269ba04067369fc14178ce3c01fda72
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