mmc: tmio: remove SCLKEN bit setting from tmio_mmc_set_clock()

TMIO clock is set via tmio_mmc_set_clock() -> tmio_mmc_clk_start(),
and SCLKEN bit will be set on tmio_mmc_clk_start().
It is not needed on tmio_mmc_set_clock() function.
The required clock setting will not be able to set
in some clocks without this patch.

Tested-by: Nguyen Xuan Nui <nx-nui@jinso.co.jp>
Tested-by: Hiep Cao Minh <cm-hiep@jinso.co.jp>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
Kuninori Morimoto 2014-08-24 20:02:16 -07:00 коммит произвёл Ulf Hansson
Родитель e85dd04ea8
Коммит b30d6958a0
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -159,7 +159,6 @@ static void tmio_mmc_set_clock(struct tmio_mmc_host *host,
for (clock = host->mmc->f_min, clk = 0x80000080; for (clock = host->mmc->f_min, clk = 0x80000080;
new_clock >= (clock<<1); clk >>= 1) new_clock >= (clock<<1); clk >>= 1)
clock <<= 1; clock <<= 1;
clk |= 0x100;
} }
if (host->set_clk_div) if (host->set_clk_div)