]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Tue, 2 Feb 2016 14:52:24 +0000 (15:52 +0100)
commit582716780cae5d8d92dbce14828a75f22bca0f26
tree4863ea1946e3e9819bfe5fd9c1d98978b3366d54
parent9d65cb24480fba14bb11c2531b7146f38e6b96f6
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