mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
cpts: fix a run time warn_on.
This patch fixes a warning in clk_enable by calling clk_prepare_enable instead. Signed-off-by: Richard Cochran <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
cbc44dbe1f
commit
ccb6e984a1
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue