]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: cqhci: add new cqhci_host_ops pre_enable() and post_disable()
authorChun-Hung Wu <chun-hung.wu@mediatek.com>
Thu, 27 Aug 2020 09:33:02 +0000 (17:33 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 7 Sep 2020 07:11:31 +0000 (09:11 +0200)
commitfe4fe62a007a72b18356a8bb6f89f325c52fe776
treef803c740568a5d212f6514f571e7c8b9958877a8
parenta7eebd88f9fc6d51317bed433399cbb5104611cf
mmc: cqhci: add new cqhci_host_ops pre_enable() and post_disable()

Add pre_enable() and post_disable() for cqhci_host_ops.
Add hook functions before cqhci enable and
after cqhci disable for platforms need them.

Signed-off-by: Chun-Hung Wu <chun-hung.wu@mediatek.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/1598520783-25250-2-git-send-email-chun-hung.wu@mediatek.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/cqhci.c
drivers/mmc/host/cqhci.h