Set the parent flag for GATE_APMIXED() clocks. By having parent flags on all clocks we can simplify the parent lookup process. This is the only mediatek clock still without this flag.
Signed-off-by: David Lechner <[email protected]> --- drivers/clk/mediatek/clk-mt7622.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/mediatek/clk-mt7622.c b/drivers/clk/mediatek/clk-mt7622.c index 79315912fd4..60f4a872a66 100644 --- a/drivers/clk/mediatek/clk-mt7622.c +++ b/drivers/clk/mediatek/clk-mt7622.c @@ -85,7 +85,7 @@ static const struct mtk_gate_regs apmixed_cg_regs = { .parent = _parent, \ .regs = &apmixed_cg_regs, \ .shift = _shift, \ - .flags = CLK_GATE_NO_SETCLR_INV, \ + .flags = CLK_GATE_NO_SETCLR_INV | CLK_PARENT_APMIXED, \ } static const struct mtk_gate apmixed_cgs[] = { -- 2.43.0

