]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Apr 2020 08:50:25 +0000 (10:50 +0200)
commit9d7a9d5b4ea9c23defeb4cc11642dd041ef0984a
tree030e646d32feb568e678a17993f82b7337321d68
parent23ffba9faa18aba2079de8752c6f4db27ab21927
mmc: sdhci: Refactor sdhci_set_timeout()

[ Upstream commit ea01e9637ba12a66eb70ffc287ae39ad97e60691 ]

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