diff options
| author | David Lechner <[email protected]> | 2026-07-10 13:56:17 -0500 |
|---|---|---|
| committer | David Lechner <[email protected]> | 2026-07-22 12:01:17 -0500 |
| commit | 2c8577318ab8e6db7fd5e88b6ef3c94c9a58a6a5 (patch) | |
| tree | 0d37f7921392f105bff3fb2780717811e0a47bcb | |
| parent | a29d3dd85b0aa603098b2f9017c495b3c81810bf (diff) | |
clk: mediatek: mt7622: set parent flag for GATE_APMIXED()
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.
Link: https://patch.msgid.link/20260710-mtk-clk-parent-lookup-improvements-v2-1-f3f3a4a28dca@baylibre.com
Signed-off-by: David Lechner <[email protected]>
| -rw-r--r-- | drivers/clk/mediatek/clk-mt7622.c | 2 |
1 files changed, 1 insertions, 1 deletions
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[] = { |
