OSDN Git Service

mmc: tmio: remove SCLKEN bit setting from tmio_mmc_set_clock()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 25 Aug 2014 03:02:16 +0000 (20:02 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Sep 2014 11:59:15 +0000 (13:59 +0200)
commitb30d6958a014812158d9729a3e0b6d448f6e8968
tree2a63b417058bfaf9d2581a04e68eab1270c9dc66
parente85dd04ea8c8d32ba8eae278959d28df34338e9d
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>
drivers/mmc/host/tmio_mmc_pio.c