diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2015-09-30 11:14:52 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-10-03 13:39:19 (GMT) |
commit | 7241df1c39ffe46cacc6b7ca6b9a669faa0db2b0 (patch) | |
tree | 6717ccf23af3917f7a0c3deb239ba4659cf69c81 /api | |
parent | 6f183e869e4e1f42c0f0587883661b780bcbee4f (diff) | |
download | u-boot-7241df1c39ffe46cacc6b7ca6b9a669faa0db2b0.tar.xz |
mach-exynos: clock: restore calling dead exynos4_get_mmc_clk()
After rework of code by:
commit: d952796 Exynos5: Use clock_get_periph_rate generic API
function get_mmc_clk() always returns -1 for Exynos 4.
This was caused by omitting, that SDHCI driver for Exynos 4,
calls get_mmc_clk(), with mmc device number as argument,
instead of pinmux peripheral id, like DW MMC driver for Exynos 5.
By this commit, the code directly calls a proper function
to get mmc clock for Exynos 4, without checking the peripheral id.
Tested on: Odroid U3/X2, Trats, Trats2, Odroid XU3, Snow (by Simon).
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions