Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1287212 > unrolled thread
| Started by | Jeffy Chen <jeffy.chen@rock-chips.com> |
|---|---|
| First post | 2015-12-09 10:10 +0100 |
| Last post | 2015-12-09 22:40 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH v1 5/8] clk: rockchip: allow more than 2 parents for cpuclk Jeffy Chen <jeffy.chen@rock-chips.com> - 2015-12-09 10:10 +0100
Re: [PATCH v1 5/8] clk: rockchip: allow more than 2 parents for cpuclk Heiko Stuebner <heiko@sntech.de> - 2015-12-09 22:40 +0100
| From | Jeffy Chen <jeffy.chen@rock-chips.com> |
|---|---|
| Date | 2015-12-09 10:10 +0100 |
| Subject | [PATCH v1 5/8] clk: rockchip: allow more than 2 parents for cpuclk |
| Message-ID | <qDIV4-6nQ-19@gated-at.bofh.it> |
RK3228's armclk has 3 parents, so allow cpuclk to have
more than 2 parents.
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
---
drivers/clk/rockchip/clk-cpu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/rockchip/clk-cpu.c b/drivers/clk/rockchip/clk-cpu.c
index 330870a..d07374f 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);
}
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Heiko Stuebner <heiko@sntech.de> |
|---|---|
| Date | 2015-12-09 22:40 +0100 |
| Message-ID | <qDUCT-5lP-15@gated-at.bofh.it> |
| In reply to | #1287212 |
Am Mittwoch, 9. Dezember 2015, 17:04:10 schrieb Jeffy Chen: > RK3228's armclk has 3 parents, so allow cpuclk to have > more than 2 parents. > > Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> applied to my clk branch for 4.5 Thanks Heiko -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web