Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odroidx next #1

Merged
merged 9 commits into from
Aug 13, 2012
Prev Previous commit
Next Next commit
ODROID-X: dw_mmc: Exynos4 speicific code change
'biu' and 'ciu' clock source is chagned to "dwmmc" and "sclk_dwmci", to use
Exynos speicific clock gating.

Signed-off-by: Dongjin Kim <dongjin.kim@agreeyamobility.net>
Dongjin Kim committed Aug 13, 2012
commit 3d07c6622e10ebb921f257daa5e2845e604f50aa
8 changes: 4 additions & 4 deletions drivers/mmc/host/dw_mmc.c
Original file line number Diff line number Diff line change
@@ -1952,15 +1952,15 @@ int dw_mci_probe(struct dw_mci *host)
return -ENODEV;
}

host->biu_clk = clk_get(host->dev, "biu");
host->biu_clk = clk_get(&host->dev, "dwmmc");
if (IS_ERR(host->biu_clk))
dev_dbg(host->dev, "biu clock not available\n");
dev_dbg(&host->dev, "biu clock not available\n");
else
clk_prepare_enable(host->biu_clk);

host->ciu_clk = clk_get(host->dev, "ciu");
host->ciu_clk = clk_get(&host->dev, "sclk_dwmci");
if (IS_ERR(host->ciu_clk))
dev_dbg(host->dev, "ciu clock not available\n");
dev_dbg(&host->dev, "ciu clock not available\n");
else
clk_prepare_enable(host->ciu_clk);