Skip to content
Snippets Groups Projects
Commit ccb6e984 authored by Richard Cochran's avatar Richard Cochran Committed by David S. Miller
Browse files

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
No related branches found
No related tags found
No related merge requests found
...@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment