]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
clk: imx31: fix rewritten input argument of mx31_clocks_init()
authorVladimir Zapolskiy <vz@mleia.com>
Mon, 26 Sep 2016 00:03:42 +0000 (03:03 +0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 1 Nov 2016 08:44:01 +0000 (16:44 +0800)
commitbae203d58b7dce89664071b3fafe20cedaa3e4f6
tree4292c421333524405d16a747302f25c4cb8523ba
parent1f87aee6a2e55eda466a43ba6248a8b75eede153
clk: imx31: fix rewritten input argument of mx31_clocks_init()

Function mx31_clocks_init() is called during clock intialization on
legacy boards with reference clock frequency passed as its input
argument, this can be verified by examination of the function
declaration found in arch/arm/mach-imx/common.h and actual function
users which include that header file.

Inside CCF driver the function ignores its input argument, by chance
the used value in the function body is the same as input arguments on
side of all callers.

Fixes: d9388c843237 ("clk: imx31: Do not call mxc_timer_init twice when booting with DT")
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-imx31.c