mmc: sdhci: Refactor sdhci_set_timeout()
authorFaiz Abbas <faiz_abbas@ti.com>
Thu, 16 Jan 2020 10:51:50 +0000 (16:21 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Apr 2020 14:12:20 +0000 (16:12 +0200)
commit71bab39fa67d43101e90aac694503724080c8b50
treec88c81a83b5115d16a84e63dabc018216d275be3
parentf56bc8cb99760df4deb52015b7646556831c73e1
mmc: sdhci: Refactor sdhci_set_timeout()

[ Upstream commit 7d76ed77cfbd39468ae58d419f537d35ca892d83 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h