diff options
author | Michael Turquette <mturquette@baylibre.com> | 2015-12-22 21:12:42 +0300 |
---|---|---|
committer | Michael Turquette <mturquette@baylibre.com> | 2015-12-22 22:57:33 +0300 |
commit | eaaa6fb53f2652760c1c512534fe3e71672a7d78 (patch) | |
tree | 7d132f3caec6b261f1d86df212962eaabcf59874 /drivers/clk/rockchip/clk-cpu.c | |
parent | d90e149666258bc84e14c1c31c2064a345220cd7 (diff) | |
parent | dfff24bde7fb8d57482e907d5dfb0be3a9e28119 (diff) | |
download | linux-eaaa6fb53f2652760c1c512534fe3e71672a7d78.tar.xz |
Merge tag 'v4.5-rockchip-clk1_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into clk-next
Rockchip clock changes for 4.5 containing
- a new pll-type used on rk3036 and other Cortex-A7 socs
- new clock-trees for rk3036 and rk3228
- switch rk3288 plls to slow mode on reboot
- a bunch of new clock ids
- some more critical clocks
- wrong register offsets for the rk3368 cpuclks
- allowing more than 2 parents for the cpuclk
Diffstat (limited to 'drivers/clk/rockchip/clk-cpu.c')
-rw-r--r-- | drivers/clk/rockchip/clk-cpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/rockchip/clk-cpu.c b/drivers/clk/rockchip/clk-cpu.c index 330870a6d8bf..d07374f48caf 100644 --- a/drivers/clk/rockchip/clk-cpu.c +++ b/drivers/clk/rockchip/clk-cpu.c @@ -242,8 +242,8 @@ struct clk *rockchip_clk_register_cpuclk(const char *name, struct clk *clk, *cclk; int ret; - if (num_parents != 2) { - pr_err("%s: needs two parent clocks\n", __func__); + if (num_parents < 2) { + pr_err("%s: needs at least two parent clocks\n", __func__); return ERR_PTR(-EINVAL); } |