File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -194,6 +194,15 @@ static void clk_sdmmc_mux_disable(struct clk_hw *hw)
194
194
gate_ops -> disable (gate_hw );
195
195
}
196
196
197
+ static void clk_sdmmc_mux_disable_unused (struct clk_hw * hw )
198
+ {
199
+ struct tegra_sdmmc_mux * sdmmc_mux = to_clk_sdmmc_mux (hw );
200
+ const struct clk_ops * gate_ops = sdmmc_mux -> gate_ops ;
201
+ struct clk_hw * gate_hw = & sdmmc_mux -> gate .hw ;
202
+
203
+ gate_ops -> disable_unused (gate_hw );
204
+ }
205
+
197
206
static void clk_sdmmc_mux_restore_context (struct clk_hw * hw )
198
207
{
199
208
struct clk_hw * parent = clk_hw_get_parent (hw );
@@ -218,6 +227,7 @@ static const struct clk_ops tegra_clk_sdmmc_mux_ops = {
218
227
.is_enabled = clk_sdmmc_mux_is_enabled ,
219
228
.enable = clk_sdmmc_mux_enable ,
220
229
.disable = clk_sdmmc_mux_disable ,
230
+ .disable_unused = clk_sdmmc_mux_disable_unused ,
221
231
.restore_context = clk_sdmmc_mux_restore_context ,
222
232
};
223
233
You can’t perform that action at this time.
0 commit comments