]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: clk: Add clk_gate_restore_context function
authorKeerthy <j-keerthy@ti.com>
Tue, 4 Sep 2018 06:49:36 +0000 (12:19 +0530)
committerTero Kristo <t-kristo@ti.com>
Wed, 3 Oct 2018 12:29:15 +0000 (15:29 +0300)
commit435365485f40cf12747d1daa2253a4f4b46b8148
tree62c9d83c8512fd4ac19afa38ce97c2a3165a57f4
parent8b95d1ce3300c411728954473316bd04d0ba9883
clk: clk: Add clk_gate_restore_context function

The clock gate restore context function enables or disables
the gate clocks based on the enable_count. This is done in cases
where the clock context is lost and based on the enable_count
the clock either needs to be enabled/disabled.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
drivers/clk/clk.c
include/linux/clk-provider.h