mmc: rockchip_sdhci: add clock init for mmc
authorKever Yang <kever.yang@rock-chips.com>
Wed, 28 Dec 2016 03:32:35 +0000 (11:32 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 12 Jan 2017 03:23:25 +0000 (20:23 -0700)
commit39fbb56f845431686966a90456bd232f0b355dbd
tree47d2620e92fb93e48ef23d9223de2feb081ca83e
parent1a581460856d87c88e64088dca19fccc6c1be089
mmc: rockchip_sdhci: add clock init for mmc

Init the clock rate to max-frequency from dts with clock driver api.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/rockchip_sdhci.c