diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-08-18 17:43:42 +0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-08-30 23:19:13 +0100 |
| commit | 7635a23cd6e7417a981c398cc5196dfac4afec6c (patch) | |
| tree | 0c9f73a256563c836f0d86b34cee2944280f73de /tools/perf/scripts/python/task-analyzer.py | |
| parent | b0ac345bad82ddeeaa02daf4dafd9c930ffea86b (diff) | |
ASoC: mediatek: mt8173: Fix clock error handling
The error handling paths in mt8173_afe_runtime_resume() use incorrect
labels, specifically err_i2s1_m and err_i2s2_m.
When clk_prepare_enable() fails, the code jumps to a label that calls
clk_disable_unprepare() on the clock that failed to enable. Instead,
it should call clk_disable_unprepare() on the clock that was successfully
enabled before the failure.
Fix the labels and clk_disable_unprepare() calls to ensure the error
cleanup is handled correctly.
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260818104344.37824-1-phucduc.bui@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
