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)
commit1cc54078d104f5b4d7e9f8d55362efa5a8daffdb
tree4d46c1ac1037d0cc7fcedc7f07bd2ac996e0f9e5
parentb3fddd5b100e4aee4f7ec58360435024971dea47
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: 88a172526c32 ("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