]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: tmio: always start clock after frequency calculation
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 1 Apr 2016 15:44:34 +0000 (17:44 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 2 May 2016 08:33:13 +0000 (10:33 +0200)
commit1d8f0d1d7be21e2825d565ef11887e10662c42ab
treec35c7375dbd0d021deb37b49d21b6ae10503a9d0
parenta41c37b2334c348011e661540d311624cf83e084
mmc: tmio: always start clock after frequency calculation

Starting the clock is always done after frequency change anyhow, so we can
do it directly after the clock calculation and remove the specific calls.
This is the first part of doing proper clock de-/activation at calculation
time.

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