]> git.baikalelectronics.ru Git - kernel.git/commit
bus: ti-sysc: Remove unpaired sysc_clkdm_deny_idle()
authorTony Lindgren <tony@atomide.com>
Fri, 6 Sep 2019 19:57:46 +0000 (12:57 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 6 Sep 2019 19:57:46 +0000 (12:57 -0700)
commit840d5f99db136a79b0a7dd82c56630d86a1a7252
tree8c0e6654b454e0aee6bc1f7ead9a751b5dbb5660
parent6676b5871e6a300b563a95d9e0fd0652a615901c
bus: ti-sysc: Remove unpaired sysc_clkdm_deny_idle()

Commit 08272b6b3dfc ("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: 08272b6b3dfc ("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>
drivers/bus/ti-sysc.c