]> git.karo-electronics.de Git - karo-tx-linux.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)
commit266061b7637b189ac82ee3a75116ff2dcb031e0b
treefa4f295e40f7e915d99d03807afc31ce05d0dfc5
parent37cabc74e57d15d683a8e49159bc8dcd5a50516a
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: cdb8b80b6093 ("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