Skip to content

Commit a4c8723

Browse files
committed
bus: ti-sysc: Remove unpaired sysc_clkdm_deny_idle()
Commit d098913 ("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: d098913 ("bus: ti-sysc: Fix clock handling for no-idle quirks") Cc: Keerthy <[email protected]> Cc: Vignesh Raghavendra <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent a932b77 commit a4c8723

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/bus/ti-sysc.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2363,7 +2363,6 @@ static void ti_sysc_idle(struct work_struct *work)
23632363
*/
23642364
if (ddata->cfg.quirks & (SYSC_QUIRK_NO_IDLE |
23652365
SYSC_QUIRK_NO_IDLE_ON_INIT)) {
2366-
sysc_clkdm_deny_idle(ddata);
23672366
sysc_disable_main_clocks(ddata);
23682367
sysc_disable_opt_clocks(ddata);
23692368
sysc_clkdm_allow_idle(ddata);

0 commit comments

Comments
 (0)