]> git.baikalelectronics.ru Git - kernel.git/commit
clk: ti: clkctrl: Fix clkdm_clk handling
authorTony Lindgren <tony@atomide.com>
Mon, 6 May 2019 21:08:54 +0000 (14:08 -0700)
committerStephen Boyd <sboyd@kernel.org>
Tue, 21 May 2019 18:43:40 +0000 (11:43 -0700)
commitb8eadb11b383cd2080e6ff61101042cb39b10d1e
tree4d46c1ac1037d0cc7fcedc7f07bd2ac996e0f9e5
parentaff059af447bcb50e25c5fc8366350f740cee7ab
clk: ti: clkctrl: Fix clkdm_clk handling

We need to always call clkdm_clk_enable() and clkdm_clk_disable() even
the clkctrl clock(s) enabled for the domain do not have any gate register
bits. Otherwise clockdomains may never get enabled except when devices get
probed with the legacy "ti,hwmods" devicetree property.

Fixes: fe3a7cf72566 ("clk: ti: add support for clkctrl clocks")
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/ti/clkctrl.c