Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bfa9a8f8 authored by Tianyi Gou's avatar Tianyi Gou
Browse files

clk: clock-local2: Add set rate ops for gate clock



In some use cases, clients want to do clk_set_rate using
the gate clock. Therefore, support this case by passing
the set rate request to the parent clock.

Change-Id: Ic40e73b3fee04e841ed8f82516b34291408152e8
Signed-off-by: default avatarTianyi Gou <tgou@codeaurora.org>
parent b5a12967
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1520,6 +1520,7 @@ struct clk_ops clk_ops_vote = {
struct clk_ops clk_ops_gate = {
	.enable = gate_clk_enable,
	.disable = gate_clk_disable,
	.set_rate = parent_set_rate,
	.get_rate = parent_get_rate,
	.round_rate = parent_round_rate,
	.handoff = gate_clk_handoff,