Skip to content

Commit

Permalink
clk: mt7986: make eth clocks critical to fix module
Browse files Browse the repository at this point in the history
based on this issue:
#102
  • Loading branch information
frank-w committed Sep 16, 2023
1 parent 02f9b46 commit 771dcd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/mediatek/clk-mt7986-eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ static const struct mtk_gate_regs eth_cg_regs = {
};

#define GATE_ETH(_id, _name, _parent, _shift) \
GATE_MTK(_id, _name, _parent, &eth_cg_regs, _shift, &mtk_clk_gate_ops_no_setclr_inv)
GATE_MTK_FLAGS(_id, _name, _parent, &eth_cg_regs, _shift, &mtk_clk_gate_ops_no_setclr_inv, CLK_IS_CRITICAL)

static const struct mtk_gate eth_clks[] = {
GATE_ETH(CLK_ETH_FE_EN, "eth_fe_en", "netsys_2x_sel", 6),
Expand Down

0 comments on commit 771dcd2

Please sign in to comment.