mmc: tmio: disable clock before changing it
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 19 Jan 2016 11:32:58 +0000 (12:32 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 29 Feb 2016 10:03:06 +0000 (11:03 +0100)
commit14d5828f4ebbfbe8e07d4d01eb85a684a9290243
tree8b39b6116594e3bdadc96ca5b788e12eb54904e4
parentbf96208f0539d2009ca0b031da2ed7c430edc3a2
mmc: tmio: disable clock before changing it

Rcar2 & 3 docs state that for going to and coming from the 0xff setting,
the clock must first be disabled before the DIV bits are changed.
Instead of tracking this, let's just do this unconditionally.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/tmio_mmc_pio.c