diff options
author | Chun-Hung Wu <chun-hung.wu@mediatek.com> | 2020-08-27 17:33:03 +0800 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-09-07 09:11:31 +0200 |
commit | e282f2045a3df69e8303488684bc9f3a23d2677d (patch) | |
tree | ff9485516046451cb85576370e86947aaca02225 /drivers/mmc/host/cavium.h | |
parent | 887ba410ede62da12e77684072f6c7491c0fa909 (diff) |
mmc: mediatek: add pre_enable() and post_disable() hook function
CQHCI_ENABLE bit in CQHCI_CFG should be disabled
after msdc_cqe_disable(), and should be enabled before
msdc_ceq_enable() for MTK platform.
Add hook functions for cqhci_host_ops->pre_enable() and
cqhci_host_ops->post_disable().
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-3-git-send-email-chun-hung.wu@mediatek.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/cavium.h')
0 files changed, 0 insertions, 0 deletions