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

Commit 62e6be99 authored by Taniya Das's avatar Taniya Das
Browse files

clk: msm: gcc: Move emac rx clock from branch to gate clock



The clock gcc_emac_0_rx_clk clk_off bit gets toggled based on when the link
toggles with rx data. So the clk_off bit is not required to be polled for
when the branch is enabled, move the clock to gate_clk.

CRs-Fixed: 950598
Change-Id: Icb95598356044d82a03af3d95e77ed0af8f79e17
Signed-off-by: default avatarTaniya Das <tdas@codeaurora.org>
parent 22772af9
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1370,13 +1370,13 @@ static struct branch_clk gcc_emac_0_tx_clk = {
	},
};

static struct branch_clk gcc_emac_0_rx_clk = {
	.cbcr_reg = EMAC_0_RX_CBCR,
	.has_sibling = 0,
static struct gate_clk gcc_emac_0_rx_clk = {
	.en_reg = EMAC_0_RX_CBCR,
	.en_mask = BIT(0),
	.base = &virt_bases[GCC_BASE],
	.c = {
		.dbg_name = "gcc_emac_0_rx_clk",
		.ops = &clk_ops_branch,
		.ops = &clk_ops_gate,
		CLK_INIT(gcc_emac_0_rx_clk.c),
	},
};