mmc: tmio: Configure clock before any other IOS
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Wed, 13 Jun 2018 06:02:55 +0000 (08:02 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 2 Nov 2018 14:57:14 +0000 (15:57 +0100)
commit8171f99e7db072383e20125e54c59f4a40272892
tree307e330542a80ad49b066c428256333d3b3da03a
parent33633ebb1c9a25a439dadea9818bfcdac46cdfff
mmc: tmio: Configure clock before any other IOS

Configure the clock settings before reconfiguring any other IO settings.
This is required when the clock must be stopped before changing eg. the
pin configuration or any of the other properties of the bus. Running the
clock configuration first allows the MMC core to do just that.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mmc/tmio-common.c