提交 ccb6e984 编写于 作者: R Richard Cochran 提交者: David S. Miller

cpts: fix a run time warn_on.

This patch fixes a warning in clk_enable by calling clk_prepare_enable
instead.
Signed-off-by: NRichard Cochran <richardcochran@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 cbc44dbe
......@@ -247,7 +247,7 @@ static void cpts_clk_init(struct cpts *cpts)
cpts->refclk = NULL;
return;
}
clk_enable(cpts->refclk);
clk_prepare_enable(cpts->refclk);
}
static void cpts_clk_release(struct cpts *cpts)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册