mmc: fsl_esdhc: add uclass clk support
authorPeng Fan <peng.fan@nxp.com>
Thu, 18 Oct 2018 12:28:35 +0000 (14:28 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 22 Oct 2018 11:00:09 +0000 (13:00 +0200)
commit3cb1450380229d1def6c70a3748ee0dcaef7ab29
treebcf85ec03281af609b155bef5be35f408e4492f0
parentd423c93b6635b1a8923513ff1680e2c966d25d33
mmc: fsl_esdhc: add uclass clk support

When CONIFG_CLK is enabled, use uclass clk api to handle
the clock.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Stefano Babic <sbabic@denx.de>
drivers/mmc/fsl_esdhc.c