2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00

clk: sunxi-ng: fix PRCM CCU CLK_NUMBER value

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: cdb8b80b60 ("clk: sunxi-ng: add support for PRCM CCUs")

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
This commit is contained in:
Icenowy Zheng 2017-04-08 00:19:04 +08:00 committed by Maxime Ripard
parent 37cabc74e5
commit 266061b763

View File

@ -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 */