You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07: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 <richardcochran@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
cbc44dbe1f
commit
ccb6e984a1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user