commit | 435365485f40cf12747d1daa2253a4f4b46b8148 | [log] [tgz] |
---|---|---|
author | Keerthy <j-keerthy@ti.com> | Tue Sep 04 12:19:36 2018 +0530 |
committer | Tero Kristo <t-kristo@ti.com> | Wed Oct 03 15:29:15 2018 +0300 |
tree | 62c9d83c8512fd4ac19afa38ce97c2a3165a57f4 | |
parent | 8b95d1ce3300c411728954473316bd04d0ba9883 [diff] |
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>