diff options
| author | Daniel Golle <daniel@makrotopia.org> | 2026-03-26 05:10:47 +0000 |
|---|---|---|
| committer | Stephen Boyd <sboyd@kernel.org> | 2026-04-28 19:05:43 -0700 |
| commit | aec2d3caae24216a8cd530aff7bc7528bd1531b2 (patch) | |
| tree | 3a278674e80d022ff54c93ffa7bef5a16c352afe /tools/perf/scripts/python/stackcollapse.py | |
| parent | 820ea6936b2d64d2171747ab37780ec9458a9236 (diff) | |
clk: mediatek: mt8192: use MUX_CLR_SET
The mfg_pll_sel mux has neither a clock gate nor an update register,
and upd_ofs is stored as u32, so the -1 truncates to 0xFFFFFFFF.
While upd_shift being -1 (as s8) prevents the update path from
executing at runtime, the bogus upd_ofs value is still stored in the
struct.
Use MUX_CLR_SET to avoid passing sentinel values to wrongly-typed
fields.
Fixes: 710573dee31b4 ("clk: mediatek: Add MT8192 basic clocks support")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
