]> git.baikalelectronics.ru Git - kernel.git/commit
clk: mmp: add init callback for clk-frac
authorChao Xie <chao.xie@marvell.com>
Fri, 31 Oct 2014 02:13:43 +0000 (10:13 +0800)
committerMichael Turquette <mturquette@linaro.org>
Thu, 13 Nov 2014 00:33:43 +0000 (16:33 -0800)
commite7b0a41cf2cc29fd90e2b079887b7afc2ec2728b
treefa38971cdee67b4d09178816a3c59f374ced668d
parent909051c1846353f28f5221294b7d1c9191bdc01e
clk: mmp: add init callback for clk-frac

For the clk-frac, we need to make sure that the initial
clock rate is one item of the table.
If it is not, we use the first item in the table by default.

Signed-off-by: Chao Xie <chao.xie@marvell.com>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
drivers/clk/mmp/clk-frac.c