diff options
author | Tony Lindgren <tony@atomide.com> | 2019-09-06 21:57:46 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2019-09-06 21:57:46 +0200 |
commit | a4c8723a162e6244fb01944fbf446750575dba59 (patch) | |
tree | 8c0e6654b454e0aee6bc1f7ead9a751b5dbb5660 /drivers | |
parent | ARM: dts: logicpd-som-lv: Fix i2c2 and i2c3 Pin mux (diff) | |
download | linux-a4c8723a162e6244fb01944fbf446750575dba59.tar.xz linux-a4c8723a162e6244fb01944fbf446750575dba59.zip |
bus: ti-sysc: Remove unpaired sysc_clkdm_deny_idle()
Commit d098913a10f8 ("bus: ti-sysc: Fix clock handling for no-idle
quirks") fixed handling for no-idle quirk modules that are not enabled
by the bootloader.
But it also caused unpaired clockdomain calls that won't allow idling
the system. That's because clkdm_allow_idle_nolock() and
clkdm_deny_idle_nolock() have usage count with clkdm->forcewake_count.
Let's drop the unpaired sysc_clkdm_deny_idle() to fix idling of devices.
Fixes: d098913a10f8 ("bus: ti-sysc: Fix clock handling for no-idle quirks")
Cc: Keerthy <j-keerthy@ti.com>
Cc: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/bus/ti-sysc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c index 24583d82b584..364ee498feb3 100644 --- a/drivers/bus/ti-sysc.c +++ b/drivers/bus/ti-sysc.c @@ -2363,7 +2363,6 @@ static void ti_sysc_idle(struct work_struct *work) */ if (ddata->cfg.quirks & (SYSC_QUIRK_NO_IDLE | SYSC_QUIRK_NO_IDLE_ON_INIT)) { - sysc_clkdm_deny_idle(ddata); sysc_disable_main_clocks(ddata); sysc_disable_opt_clocks(ddata); sysc_clkdm_allow_idle(ddata); |