]> git.baikalelectronics.ru Git - kernel.git/commit
clk: sunxi-ng: fix PRCM CCU CLK_NUMBER value
authorIcenowy Zheng <icenowy@aosc.io>
Fri, 7 Apr 2017 16:19:04 +0000 (00:19 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 10 Apr 2017 07:04:33 +0000 (09:04 +0200)
commit85c3478a4f0332604eddaf95b0fcc94c69aae977
treefa4f295e40f7e915d99d03807afc31ce05d0dfc5
parent60af586cca17561b3419b9648c62adc3fc7dd0dd
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: 035062c68517 ("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>
drivers/clk/sunxi-ng/ccu-sun8i-r.h