diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-08-21 19:28:38 +0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-08 15:17:54 +0100 |
| commit | e967d479b65c778cd2394ab185e289beefcf996d (patch) | |
| tree | 7e5377e7b9f8df282a7b6a3c148a507da78d176d /tools/perf/scripts/python/task-analyzer.py | |
| parent | df2908090cda368b01ff43709f51890076c56157 (diff) | |
ASoC: mediatek: mt6797: fix wrong unwind order and error code in enable_clock
The error paths in mt6797_afe_enable_clock() use incorrect goto labels,
causing clocks that failed to enable to be disabled during cleanup.
Fix the goto labels to only unwind clocks that were successfully
enabled, and return the actual error code.
Fixes: c5e7fca928d3 ("ASoC: mt6797: add structure define and clock control function for 6797")
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260821122840.41266-2-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
