mmc: tmio: move MFD variant reset to a platform hook
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 10 Oct 2018 03:51:31 +0000 (12:51 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 15 Oct 2018 12:39:45 +0000 (14:39 +0200)
commitacb9fce7309a38d25be7331375012b9481f20b27
tree54694492dea6a40b9e9ef1709a7190f96eabca16
parent60ab43ba6b6e0f888aab3ce0f84a8aaf15d15079
mmc: tmio: move MFD variant reset to a platform hook

CTL_RESET_SDIO register is specific to the TMIO MFD (tmio_mmc.c).

Add a new hook host->reset() for performing a platform-specific
reset sequence, and move CTL_RESET_SDIO over there.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/tmio_mmc.c
drivers/mmc/host/tmio_mmc.h
drivers/mmc/host/tmio_mmc_core.c