clk: rzg2l: Ignore disable for core clocks
authorPaul Barker <paul.barker.ct@bp.renesas.com>
Tue, 4 Mar 2025 19:44:35 +0000 (19:44 +0000)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Tue, 11 Mar 2025 22:06:18 +0000 (23:06 +0100)
commit0648671dd3b056b8cbf725bce1a715e6a48406f2
tree01af4f4cf6d3a831cff81b6099d610c3ffc77796
parent33ccfae85372285690d8bd8256d994d7cb917cbf
clk: rzg2l: Ignore disable for core clocks

Following on from commit 9a699a0a0d62 ("clk: rzg2l: Ignore enable for
core clocks"), we also need to ignore attempts to disable core clocks to
avoid the need for conditionals around clk_disable_bulk() calls in
drivers which support both RZ/G2L and other Renesas SoCs.

Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
drivers/clk/renesas/rzg2l-cpg.c