[PATCH v3 2/4] clk: clk: Add clk_gate_restore_context function

2018-06-21 Thread Keerthy
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 --- Changes in v2: * Renamed

[PATCH v3 2/4] clk: clk: Add clk_gate_restore_context function

2018-06-21 Thread Keerthy
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 --- Changes in v2: * Renamed