]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: ingenic: jz4770: Modify C1CLK clock to disable CPU clock stop on idle
authorPaul Cercueil <paul@crapouillou.net>
Sun, 20 May 2018 16:31:15 +0000 (16:31 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Aug 2018 05:47:37 +0000 (07:47 +0200)
commitb5d3cbd6241e516984b9770401d4bec14badb388
tree1e6bc226b95d13f9711652fbe6326d073bc22562
parent862b3a1af47f189a24d901f4117249ee6e6c0d0b
clk: ingenic: jz4770: Modify C1CLK clock to disable CPU clock stop on idle

[ Upstream commit 45ba63a29fd9b8a461110185e3abc5b4c90b806a ]

When the main processor goes idle, by default its clock is stopped.
However, this also stops the clock of the co-processor.

Here, if the C1CLK clock is enabled, we disable this functionality.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/ingenic/jz4770-cgu.c