Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1618950 > unrolled thread
| Started by | Icenowy Zheng <icenowy@aosc.io> |
|---|---|
| First post | 2017-04-07 18:30 +0200 |
| Last post | 2017-04-10 09:10 +0200 |
| 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 2/2] clk: sunxi-ng: fix PRCM CCU CLK_NUMBER value Icenowy Zheng <icenowy@aosc.io> - 2017-04-07 18:30 +0200
Re: [PATCH 2/2] clk: sunxi-ng: fix PRCM CCU CLK_NUMBER value Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-04-10 09:10 +0200
| From | Icenowy Zheng <icenowy@aosc.io> |
|---|---|
| Date | 2017-04-07 18:30 +0200 |
| Subject | [PATCH 2/2] clk: sunxi-ng: fix PRCM CCU CLK_NUMBER value |
| Message-ID | <ttEVQ-1dU-29@gated-at.bofh.it> |
The CLK_NUMBER value of PRCM CCU is wrongly set to (CLK_APB0_PWD + 1),
which prevented the IR mod clock from being set up.
Change it to (CLK_IR + 1) in order to correctly get IR mod set up.
Fixes: cdb8b80b6093 ("clk: sunxi-ng: add support for PRCM CCUs")
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
---
drivers/clk/sunxi-ng/ccu-sun8i-r.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/sunxi-ng/ccu-sun8i-r.h b/drivers/clk/sunxi-ng/ccu-sun8i-r.h
index eaa431fd1d8f..a7a407f12b56 100644
--- a/drivers/clk/sunxi-ng/ccu-sun8i-r.h
+++ b/drivers/clk/sunxi-ng/ccu-sun8i-r.h
@@ -22,6 +22,6 @@
#define CLK_AHB0 1
#define CLK_APB0 2
-#define CLK_NUMBER (CLK_APB0_TWD + 1)
+#define CLK_NUMBER (CLK_IR + 1)
#endif /* _CCU_SUN8I_R_H */
--
2.12.2
[toc] | [next] | [standalone]
| From | Maxime Ripard <maxime.ripard@free-electrons.com> |
|---|---|
| Date | 2017-04-10 09:10 +0200 |
| Message-ID | <tuBCx-5Wv-9@gated-at.bofh.it> |
| In reply to | #1618950 |
[Multipart message — attachments visible in raw view] — view raw
On Sat, Apr 08, 2017 at 12:19:04AM +0800, Icenowy Zheng wrote: > The CLK_NUMBER value of PRCM CCU is wrongly set to (CLK_APB0_PWD + 1), > which prevented the IR mod clock from being set up. > > Change it to (CLK_IR + 1) in order to correctly get IR mod set up. Applied both, thanks. Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web