mmc: core: Move calls to ->prepare_hs400_tuning() closer to mmc code
authorUlf Hansson <ulf.hansson@linaro.org>
Tue, 22 May 2018 14:26:26 +0000 (16:26 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 29 May 2018 10:24:26 +0000 (12:24 +0200)
commitc8a4e30d9ac0a7d405c4d26e313af7464ee00929
tree3da5459b4769e9e42310f15d918b4890aa0fd65e
parente1cb88ad4655dd7484e56c01a05a2986496f56a8
mmc: core: Move calls to ->prepare_hs400_tuning() closer to mmc code

Move the calls to ->prepare_hs400_tuning(), from mmc_retune() into
mmc_hs400_to_hs200(), as it better belongs there, rather than being generic
to all type of cards.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
drivers/mmc/core/host.c
drivers/mmc/core/mmc.c