Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)