]> git.baikalelectronics.ru Git - kernel.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)
commite38b5c32d1c089f3aab8b73c959259a3b72b624b
tree62c9d83c8512fd4ac19afa38ce97c2a3165a57f4
parentec5119f320046caca2cbfd18589fa0932e11b0b9
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