Commit ccb6e984 authored by Richard Cochran's avatar Richard Cochran Committed by 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: default avatarRichard Cochran <richardcochran@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cbc44dbe
...@@ -247,7 +247,7 @@ static void cpts_clk_init(struct cpts *cpts) ...@@ -247,7 +247,7 @@ static void cpts_clk_init(struct cpts *cpts)
cpts->refclk = NULL; cpts->refclk = NULL;
return; return;
} }
clk_enable(cpts->refclk); clk_prepare_enable(cpts->refclk);
} }
static void cpts_clk_release(struct cpts *cpts) static void cpts_clk_release(struct cpts *cpts)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment