mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
emmc: optimize emmc clk set suspend & resume.
PD#173040: optimize clk set suspend & resume. Change-Id: I1f3b826f30db382178faa0293f2ba019525e6dec Signed-off-by: Nan Li <nan.li@amlogic.com>
This commit is contained in:
@@ -171,7 +171,7 @@ static int meson_mmc_clk_set_rate_v3(struct mmc_host *mmc,
|
||||
host->mux_parent[0]);
|
||||
if (ret)
|
||||
pr_warn("set comp0 as mux_clk parent error\n");
|
||||
} else if (clk_get_rate(host->mux_parent[0]) == 400000000) {
|
||||
} else if (clk_get_rate(host->mux_parent[0]) > 200000000) {
|
||||
pr_info("%s %d\n", __func__, __LINE__);
|
||||
src0_clk = devm_clk_get(host->dev, "xtal");
|
||||
ret = clk_set_parent(host->mux_parent[0], src0_clk);
|
||||
|
||||
Reference in New Issue
Block a user